fix(types): allow File or ChangeEvent in handleFileUpload and ensure safe localStorage in userStore

This commit is contained in:
parsa aghaei committed 2026-08-03 10:16:57 +03:30
1 parent c1b2f416ed
commit 7e072793eb
4 files changed
+14 -54

No files matched your search

@@ -79,6 +79,7 @@ describe('userStore', () => {
vi.mocked(authService.getProfile).mockResolvedValue(mockProfileData);
(globalThis as any)._testToken = 'test-token';
const store = useUserStore.getState();
await store.fetchProfile();