Vite bugs 125729 am [vite] page reload src app.jsx

I am new to vite and I just started a new react application. My project had hmr (hot module replacement) enabled and it was ok. I just added the last component which is the footer section but when I start it now the hmr is disabled and when adding new change the browser is reloading my page and in the terminal it logs: 12:37:54 PM [vite] page reload src/App.jsx… i commented the footer component and restarted my server and my previous codes works perfectly and showed in the browser

how can i solve this