feat: profile picture

This commit is contained in:
Henry
2025-01-21 22:41:04 +00:00
parent a162624eb8
commit ef8f42a460
16 changed files with 303 additions and 59 deletions

View File

@@ -21,7 +21,7 @@ export default function HomeView() {
? Cookies.get(env.NEXT_PUBLIC_SUPABASE_AUTH_COOKIE_NAME)
: null;
const { data } = api.auth.getUser.useQuery(undefined, {
const { data } = api.user.getUser.useQuery(undefined, {
enabled: !!token,
});