Stopping auto brackets around word event

I have the following function… and whenever I save the file…ATOM automatically puts brackets around the word event.

FROM: onSubmit = async event => {…

TO: onSubmit = async (event) => {…

This is causing me an error on compile I believe. Getting…

"Uncaught TypeError: t is not a function"