开启 ppr 优化渲染性能
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
import {update} from '@/actions/user'
|
||||
import {useProfileStore} from '@/components/stores-provider'
|
||||
import {useProfileStore} from '@/components/stores/profile'
|
||||
import {Button} from '@/components/ui/button'
|
||||
import {Form, FormField} from '@/components/ui/form'
|
||||
import {Input} from '@/components/ui/input'
|
||||
|
||||
@@ -57,7 +57,7 @@ export default async function ProfilePage(props: ProfilePageProps) {
|
||||
<>
|
||||
<p className="text-sm">为了保障您的账户安全和正常使用服务,请您尽快完成实名认证</p>
|
||||
<RealnameAuthDialog
|
||||
hasAuthenticated={!!user.id_token}
|
||||
defaultOpen={!user.id_token}
|
||||
triggerClassName="w-24"
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user