fix: checks hydration issues

This commit is contained in:
TrèsAbhi committed 2024-05-23 13:14:45 -05:00
1 parent 6e96798d5e
commit 2a32a1a7cb
3 files changed
+68 -59

No files matched your search

+4 -6
View File
@@ -5,9 +5,7 @@ import '@radix-ui/themes/styles.css';
import { config } from 'dotenv';
import { Roboto_Flex } from 'next/font/google';
import { usePathname } from 'next/navigation';
import { ReactNode, Suspense } from 'react';
import { Footer } from '../components/Footer';
import { Loader } from '../components/Loader';
import { ReactNode } from 'react';
import Navbar, { NAVBAR_HEIGHT } from '../components/Navbar';
import { Party3 } from '../components/Party3';
import { Checks } from './components/Checks';
@@ -72,7 +70,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
<Checks />
<Suspense
{/* <Suspense
fallback={
<div style={{ flex: 1 }}>
<Loader />
@@ -80,9 +78,9 @@ export default function RootLayout({ children }: RootLayoutProps) {
}
>
{children}
</Suspense>
</Suspense> */}
{!isEmbed && <Footer />}
{/* {!isEmbed && <Footer />} */}
</Flex>
</Theme>
</body>