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

@@ -1,4 +1,5 @@
import { useState } from "react";
// import { useRouter } from "next/navigation";
import { Auth } from "~/components/AuthForm";
import { PageHead } from "~/components/PageHead";
@@ -19,7 +20,7 @@ export default function LoginPage() {
// .split("; ")
// .some((cookie) => cookie.includes("auth-token"));
// const { data } = api.auth.getUser.useQuery(undefined, {
// const { data } = api.user.getUser.useQuery(undefined, {
// enabled: authCookieExists ? true : false,
// });

View File

@@ -1,7 +1,9 @@
import { useState } from "react";
// import { useRouter } from "next/navigation";
import { Auth } from "~/components/AuthForm";
import { PageHead } from "~/components/PageHead";
// import { api } from "~/utils/api";
export default function SignupPage() {
@@ -18,7 +20,7 @@ export default function SignupPage() {
// .split("; ")
// .some((cookie) => cookie.includes("auth-token"));
// const { data } = api.auth.getUser.useQuery(undefined, {
// const { data } = api.user.getUser.useQuery(undefined, {
// enabled: authCookieExists ? true : false,
// });