Skip to content

Commit

Permalink
[#26] suspense 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
03hoho03 committed Apr 7, 2024
1 parent 1e14462 commit 8cfb711
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/(route)/oauth/callback/kakao/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React from 'react'
import React, { Suspense } from 'react'
import Callback from './_components/callback'

function page() {
return (
<div>
<Callback />
</div>
<Suspense fallback={<div>로딩중...</div>}>
<div>
<Callback />
</div>
</Suspense>
)
}

Expand Down

0 comments on commit 8cfb711

Please sign in to comment.