about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.web.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx
index 0fed089cb..9c2b34a78 100644
--- a/src/App.web.tsx
+++ b/src/App.web.tsx
@@ -112,7 +112,12 @@ function App() {
   const [isReady, setReady] = useState(false)
 
   React.useEffect(() => {
-    initPersistedState().then(() => setReady(true))
+    initPersistedState().then(() => {
+      setReady(true)
+
+      const preloadElement = document.getElementById('preload')
+      preloadElement?.remove()
+    })
   }, [])
 
   if (!isReady) {