diff --git a/src/app/admin/(dashboard)/_client/userCenter.tsx b/src/app/admin/(dashboard)/_client/userCenter.tsx index 2003ccb..47ca275 100644 --- a/src/app/admin/(dashboard)/_client/userCenter.tsx +++ b/src/app/admin/(dashboard)/_client/userCenter.tsx @@ -53,7 +53,9 @@ async function UserCenter() { 未实名 - + + + )} diff --git a/src/components/composites/dialogs/realname-auth-dialog.tsx b/src/components/composites/dialogs/realname-auth-dialog.tsx index f6d1a5a..1255306 100644 --- a/src/components/composites/dialogs/realname-auth-dialog.tsx +++ b/src/components/composites/dialogs/realname-auth-dialog.tsx @@ -3,7 +3,7 @@ import {Button} from '@/components/ui/button' import {Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger} from '@/components/ui/dialog' import {useRouter} from 'next/navigation' import {useState} from 'react' - +import Link from 'next/link' interface RealnameAuthDialogProps { hasAuthenticated: boolean triggerClassName?: string @@ -51,14 +51,7 @@ export function RealnameAuthDialog({ > 稍后再说 - +