From e5472486812e9866b0f7468d30832cd78b2236d8 Mon Sep 17 00:00:00 2001 From: Lotus Bot Date: Fri, 22 May 2026 10:46:55 -0400 Subject: [PATCH] fix: prettier formatting in index.tsx (single quotes) --- src/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 882d60492..9f44ef704 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -69,14 +69,14 @@ if ('serviceWorker' in navigator) { } // Reload once if a lazy-loaded chunk is missing (stale deployment) -window.addEventListener("vite:preloadError", () => { - if (!sessionStorage.getItem("chunk-reload-attempted")) { - sessionStorage.setItem("chunk-reload-attempted", "1"); +window.addEventListener('vite:preloadError', () => { + if (!sessionStorage.getItem('chunk-reload-attempted')) { + sessionStorage.setItem('chunk-reload-attempted', '1'); window.location.reload(); } }); // Clear the reload flag after a successful load so future deploys can still trigger a reload -window.addEventListener("load", () => sessionStorage.removeItem("chunk-reload-attempted")); +window.addEventListener('load', () => sessionStorage.removeItem('chunk-reload-attempted')); const mountApp = () => { const rootContainer = document.getElementById('root');