diff --git a/apps/website/src/components/Header.tsx b/apps/website/src/components/Header.tsx index ce28ffd49..352e52fba 100644 --- a/apps/website/src/components/Header.tsx +++ b/apps/website/src/components/Header.tsx @@ -11,7 +11,6 @@ import menuIcon from "../assets/boxicons/bx-menu.svg?raw"; import { LocaleContext } from ".."; import { useTranslation } from "react-i18next"; import { swapLocaleInUrl } from "../i18n"; -import { Suspense } from "preact/compat"; interface HeaderLink { url: string; @@ -79,9 +78,7 @@ export function Header(props: {repoStargazersCount: number}) { /> - Loading...}> - - + diff --git a/apps/website/src/index.tsx b/apps/website/src/index.tsx index 1aafe8367..92455792a 100644 --- a/apps/website/src/index.tsx +++ b/apps/website/src/index.tsx @@ -13,33 +13,30 @@ import { default as i18next, changeLanguage } from 'i18next'; import { extractLocaleFromUrl, LOCALES, mapLocale } from './i18n'; import HttpApi from 'i18next-http-backend'; import { initReactI18next } from "react-i18next"; -import { Suspense } from 'preact/compat'; export const LocaleContext = createContext('en'); export function App(props: {repoStargazersCount: number}) { return ( - - - Loading...}> -
-
- - - - + + +
+
+ + + + - - - + + + - - -
-
- - - + + +
+