React + vite js app.js syntax error

Hi, I’m using f7 react + vite js.
If I try to add redux on app.js I’m getting this error.
Anyone can help??

—error—

—code—

The error you have is pretty self-explaining, you must use .JSX file extension for files with JSX syntax