Skip to content

Commit

Permalink
Fix initial loading screen taking too long to show up
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed Dec 20, 2024
1 parent 58cd30c commit c6d44a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,14 @@
</body>

<script>
window.addEventListener('load', () => {
var elem = document.getElementById('q-app')
elem.innerHTML = `
<div class="initialLoading">
<div class="loading-container" id="loadingContainer">
<div class="spinner"></div>
<p class="loading-text">Loading R2 Explorer</p>
<p class="loading-text">Loading R2-Explorer</p>
<p style="color: #666; font-size: 0.9rem;">Please wait while the application initializes...</p>
</div>
</div>` + elem.innerHTML;
});
</script>
</html>

0 comments on commit c6d44a6

Please sign in to comment.