Potential fix for pull request finding 'Useless assignment to local variable'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Haile
2026-04-27 15:21:53 +03:00
committed by GitHub
parent c027dc0813
commit 714c9214e6

View File

@@ -64,7 +64,7 @@ export const notificationPreferencesDb = {
return defaults;
}
let parsed: unknown = DEFAULT_NOTIFICATION_PREFERENCES;
let parsed: unknown;
try {
parsed = JSON.parse(row.preferences_json);
} catch {