feat: improve profile UI/UX and migrate to Mantine modals

This commit is contained in:
bipproduction
2026-02-07 15:05:28 +08:00
parent b9abcaadde
commit 718e7603d1
14 changed files with 752 additions and 760 deletions

View File

@@ -21,8 +21,7 @@ type SessionResponse = {
async function fetchSession(): Promise<SessionResponse | null> {
try {
const baseURL =
import.meta.env.VITE_PUBLIC_URL || window.location.origin;
const baseURL = import.meta.env.VITE_PUBLIC_URL || window.location.origin;
const res = await fetch(`${baseURL}/api/session`, {
method: "GET",
credentials: "include",