📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fixed header is not shown when page is loading
Blue Mouseb8cb12462997
diff --git a/src/App.js b/src/App.jsindex 3d4b603ba..b4bdf3e87 100644--- a/src/App.js+++ b/src/App.js@@ -108,11 +108,11 @@ const App = () => {return ((!accessToken || !loading) && (- <>- <Suspense fallback={<Fallback theme={theme} isMinimalFooter={isMinimalFooter} />}>- <Header authenticated={authenticated} theme={theme} />- <ScrollToTop>- <Selfhosted>+ <Suspense fallback={<></>}>+ <Header authenticated={authenticated} theme={theme} />+ <ScrollToTop>+ <Selfhosted>+ <Suspense fallback={<Fallback theme={theme} isMinimalFooter={isMinimalFooter} />}><Switch><Route path={routes.main} component={MainPage} exact /><Route path={routes.signin} component={SignIn} exact />@@ -134,11 +134,11 @@ const App = () => {<Route path={routes.terms} component={Terms} exact /><Redirect to={routes.main} /></Switch>- </Selfhosted>- </ScrollToTop>- <Footer minimal={isMinimalFooter} authenticated={authenticated} />- </Suspense>- </>+ </Suspense>+ </Selfhosted>+ </ScrollToTop>+ <Footer minimal={isMinimalFooter} authenticated={authenticated} />+ </Suspense>))}