feat: improve profile UI/UX and migrate to Mantine modals
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user