diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 088d28250..f4789b3eb 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -22,11 +22,6 @@ import "./translation"; // have a look at the Quick start guide // for passing in lng and translations on init/ -// https://vite.dev/guide/build#load-error-handling -window.addEventListener("vite:preloadError", () => { - window.location.reload(); // for example, refresh the page -}); - // Create a new router instance NProgress.configure({ showSpinner: false });