Skip to content

Commit

Permalink
fix: vercel deploy error
Browse files Browse the repository at this point in the history
  • Loading branch information
uiop5809 committed Aug 20, 2024
1 parent 908c83f commit 291da95
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/app/board/[id]/update/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
'use client'

import BoardUpdatePage from '@/components/board/BoardUpdatePage'
import dynamic from 'next/dynamic'
import { Suspense } from 'react'

const Page = () => {
const BoardUpdatePage = dynamic(
() => import('@/components/board/BoardUpdatePage'),
{
ssr: false,
},
)

return (
<Suspense fallback={<div>Loading...</div>}>
<BoardUpdatePage />
Expand Down
9 changes: 8 additions & 1 deletion src/app/board/create/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
'use client'

import BoardCreatePage from '@/components/board/BoardCreatePage'
import dynamic from 'next/dynamic'
import { Suspense } from 'react'

const Page = () => {
const BoardCreatePage = dynamic(
() => import('@/components/board/BoardCreatePage'),
{
ssr: false,
},
)

return (
<Suspense fallback={<div>Loading...</div>}>
<BoardCreatePage />
Expand Down

0 comments on commit 291da95

Please sign in to comment.