fix: resolve all ESLint errors + fix deploy workflow for CI

- Replace all 'any' types with 'unknown' or proper types
- Remove unused imports and variables
- Add comments to empty catch blocks
- Fix Date.now() purity issue in ReportsPage (useMemo)
- Fix fetchNotifications declaration order in NotificationBell
- Restructure MeetingPrepModal effect for setState
- Split Toast exports into separate lib/toast.ts
- Fix constant binary expression in utils.test.ts
- Fix deploy workflow: compose.deploy + DOKPLOY_COMPOSE_ID
This commit is contained in:
2026-01-30 04:37:53 +00:00
parent 4d684a9d74
commit b0cfa0ab1b
36 changed files with 180 additions and 159 deletions

View File

@@ -20,8 +20,8 @@ export default function LoginPage() {
try {
await login(email, password);
navigate('/');
} catch (err: any) {
setError(err.message || 'Login failed');
} catch (err: unknown) {
setError(err instanceof Error ? err.message : 'Login failed');
} finally {
setLoading(false);
}