fix: replay pending action after login
This commit is contained in:
@@ -32,7 +32,7 @@ export function AuthGuard({ children }: AuthGuardProps) {
|
||||
return (
|
||||
<div className="flex min-h-[50vh] flex-col items-center justify-center gap-4 text-center">
|
||||
<p className="text-sm text-muted-foreground">请先登录后继续访问此页面</p>
|
||||
<Button onClick={openLoginDialog}>登录</Button>
|
||||
<Button onClick={() => openLoginDialog()}>登录</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user