chore(workspace): eradicate all tsc errors and eslint warnings across frontend, admin, and backend
Deploy Canina / deploy (push) Failing after 29s

This commit is contained in:
parsa committed 2026-08-07 07:39:26 +03:30
1 parent 4659a7b1de
commit 9f11d8fb2d
98 files changed
+1272 -1009

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ export const useUserStore = create<UserStore>()(
},
fetchProfile: async () => {
try {
const token = typeof window !== 'undefined' && window.localStorage ? localStorage.getItem('accessToken') : (globalThis as any)._testToken;
const token = typeof window !== 'undefined' && window.localStorage ? localStorage.getItem('accessToken') : (globalThis as unknown as { _testToken?: string })._testToken;
if (!token) {
try { usePetStore.getState().reset(); } catch {}
try { localStorage.removeItem("canina-pets"); } catch {}