Check user auth in api request

This commit is contained in:
Takeshi Kimata
2024-05-25 12:35:10 +09:00
parent 7a0bb63e7b
commit d6e7c98025
19 changed files with 106 additions and 50 deletions

View File

@@ -18,7 +18,7 @@ export default function AccountPage({ messages, locale }: Props) {
return (
<>
{context.token && context.token.user && (
{context.isSignedIn() && (
<Card className="w-[600px] mt-16 mx-3">
<CardHeader className="flex gap-6">
<Avatar