Switch to supabase (not fully complete)

This commit is contained in:
2025-10-12 12:57:04 +02:00
parent 2122d6d74f
commit 6bdf2233fe
11 changed files with 336 additions and 156 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export default function useUser() {
}
try {
const res = (await axios.get("/api/user")).data as User;
const res = (await axios.get("/api/profile")).data as User;
setUser(res);
} catch {