Revert suspense in root layout
This commit is contained in:
parent
d3decb6af5
commit
758cdcaf0e
@ -11,8 +11,6 @@ import {
|
||||
import AdminNavClient from './AdminNavClient';
|
||||
|
||||
export default async function AdminNav() {
|
||||
// await sleep(20_000);
|
||||
|
||||
const [
|
||||
countPhotos,
|
||||
countUploads,
|
||||
|
||||
@ -87,7 +87,9 @@ export default function RootLayout({
|
||||
'min-h-[16rem] sm:min-h-[30rem]',
|
||||
'mb-12',
|
||||
)}>
|
||||
<Suspense>
|
||||
{children}
|
||||
</Suspense>
|
||||
</div>
|
||||
<Suspense fallback={<FooterClient />}>
|
||||
<Footer />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user