add user page

This commit is contained in:
Ren Amamiya
2023-06-20 13:48:08 +07:00
parent 9b84068e6d
commit b1cecbbc07
7 changed files with 216 additions and 112 deletions

View File

@@ -46,7 +46,7 @@ export function Profile({ data }: { data: any }) {
</p>
</div>
<div className="mt-8">
{error && <p>Failed to fetch</p>}
{error && <p>Failed to fetch user stats</p>}
{!userStats ? (
<p>Loading...</p>
) : (