Finalize Typescript restructure

This commit is contained in:
Darko Gjorgjijoski
2026-04-06 17:59:15 +02:00
parent cab785172e
commit 74b4b2df4e
209 changed files with 12419 additions and 1745 deletions

View File

@@ -115,7 +115,13 @@ async function onSubmit(): Promise<void> {
type: 'success',
message: 'Logged in successfully.',
})
} catch {
} catch (err: unknown) {
const { handleApiError } = await import('../../../utils/error-handling')
const normalized = handleApiError(err)
notificationStore.showNotification({
type: 'error',
message: normalized.message,
})
isLoading.value = false
}
}