Skip to content

Commit

Permalink
Add suspense to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara-chaves committed Aug 23, 2023
1 parent 4adc6ff commit b44cc2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { Suspense } from 'react';

import Home from '@/containers/home';

export default async function HomePage() {
return <Home />;
return (
<Suspense fallback={<div>FALLBACK</div>}>
<Home />
</Suspense>
);
}
File renamed without changes.

0 comments on commit b44cc2c

Please sign in to comment.