Skip to content

Commit

Permalink
feat: 임시적인 Suspense 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiwon committed Nov 8, 2023
1 parent e0ced72 commit 7755843
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/home/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { Suspense } from 'react';
import GNB from 'layouts/GNB';
import Home from './Home';

const HomePage = () => {
return (
<div>
<GNB />
<Home />
<Suspense fallback={<div>Loading...</div>}>
<Home />
</Suspense>
</div>
);
};
Expand Down

0 comments on commit 7755843

Please sign in to comment.