fix(api): fix api endpoint logic #5

chore(env): obscure api url in env

feat(ui): render subjects according to user preparation unit
This commit is contained in:
Dacca Retro
2025-08-18 15:06:50 +06:00
parent e3673951c6
commit 58d4d14a51
15 changed files with 3853 additions and 577 deletions

View File

@ -72,7 +72,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
if (!res.ok) {
throw new Error("Failed to fetch user info");
}
console.log(API_URL)
const data: UserData = await res.json();
setUser(data);
} catch (error) {