📈 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
some improvements
Blue Mouse034ae5ae51f5
diff --git a/app/App.tsx b/app/App.tsxindex 7eff688cb..64cb2bd65 100644--- a/app/App.tsx+++ b/app/App.tsx@@ -140,9 +140,9 @@ const App: React.FC<IApp> = ({ ssrTheme, ssrAuthenticated }) => {return (// eslint-disable-next-line react/jsx-no-useless-fragment<Suspense fallback={<></>}>- {/* {pathname !== routesPath.main && (+ {pathname !== routesPath.main && (<Header ssrTheme={ssrTheme} ssrAuthenticated={ssrAuthenticated} />- )} */}+ )}{/* @ts-ignore */}<ScrollToTop><Selfhosted>@@ -151,7 +151,7 @@ const App: React.FC<IApp> = ({ ssrTheme, ssrAuthenticated }) => {</Suspense></Selfhosted></ScrollToTop>- {/* <Footer minimal={isMinimalFooter} authenticated={authenticated} /> */}+ <Footer minimal={isMinimalFooter} authenticated={authenticated} /></Suspense>)}diff --git a/app/entry.client.tsx b/app/entry.client.tsxindex 2e75f2d92..59c355509 100644--- a/app/entry.client.tsx+++ b/app/entry.client.tsx@@ -1,8 +1,6 @@import { RemixBrowser } from '@remix-run/react'import { startTransition, StrictMode } from 'react'import { hydrateRoot } from 'react-dom/client'-import _forEach from 'lodash/forEach'-import _includes from 'lodash/includes'import i18next from 'i18next'import { I18nextProvider, initReactI18next } from 'react-i18next'@@ -11,23 +9,6 @@ import HTTPBackend from 'i18next-http-backend'import { getInitialNamespaces } from 'remix-i18next'import i18n from './i18n'-const clearBrowserExtensionInjectionsBeforeHydration = () => {- _forEach(- document- .querySelectorAll(- [- 'html > *:not(body, head)',- 'script[src*="extension://"]',- 'link[href*="extension://"]',- 'body > link[rel="modulepreload"]',- ].join(', '),- ),- (s) => {- s.parentNode?.removeChild(s)- },- )-}-async function hydrate() {await i18next.use(initReactI18next)@@ -43,8 +24,6 @@ async function hydrate() {},})- clearBrowserExtensionInjectionsBeforeHydration()-startTransition(() => {hydrateRoot(document,diff --git a/app/root.tsx b/app/root.tsxindex e74a35054..b6f495c12 100644--- a/app/root.tsx+++ b/app/root.tsx@@ -189,9 +189,6 @@ export default function App() {<ScrollRestoration /><Scripts /><LiveReload />- {!isBrowser && (- <div id='__react-alert__' />- )}</body></html>)