Skip to content

Commit 27958a3

Browse files
Added suspense component
1 parent 03400cb commit 27958a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tesfa/src/app/kanban/page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import Layout from '../sharedComponents/Layout';
22
import KanbanBoard from './components/Board';
3+
import { Suspense } from 'react';
34

45
export default function KanbanPage() {
56
return (
67
<Layout>
7-
<KanbanBoard />
8+
<Suspense fallback={<div>Loading...</div>}>
9+
<KanbanBoard />
10+
</Suspense>
811
</Layout>
912
);
1013
}

0 commit comments

Comments
 (0)