修改 Dockerfile,解决构建时错误
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import {useEffect, useState} from 'react'
|
||||
import {Suspense, useEffect, useState} from 'react'
|
||||
import {useSearchParams} from 'next/navigation'
|
||||
import {IdentifyCallback} from '@/actions/auth/identify'
|
||||
import {Card, CardContent} from '@/components/ui/card'
|
||||
@@ -8,6 +8,14 @@ import {CheckCircle, AlertCircle, Loader2} from 'lucide-react'
|
||||
export type PageProps = {}
|
||||
|
||||
export default function Page(props: PageProps) {
|
||||
return (
|
||||
<Suspense>
|
||||
<Page1/>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
|
||||
function Page1() {
|
||||
const params = useSearchParams()
|
||||
const success = params.get('success') === 'true'
|
||||
const id = params.get('id') || ''
|
||||
|
||||
Reference in New Issue
Block a user