From 6f0a97a2fa3a071c6418f68372685ca6ad12e7b3 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 21 Mar 2025 02:43:10 +0530 Subject: [PATCH] feat: removed refresh --- frontend/src/main.tsx | 5 ----- 1 file changed, 5 deletions(-) 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 });