diff --git a/frontend/src/features/PriorNotification/useCases/updateEditedPriorNotificationComputedValues.ts b/frontend/src/features/PriorNotification/useCases/updateEditedPriorNotificationComputedValues.ts index bc8e4e31ce..a9860e9638 100644 --- a/frontend/src/features/PriorNotification/useCases/updateEditedPriorNotificationComputedValues.ts +++ b/frontend/src/features/PriorNotification/useCases/updateEditedPriorNotificationComputedValues.ts @@ -20,7 +20,7 @@ export const updateEditedPriorNotificationComputedValues = dispatch(priorNotificationActions.setEditedPriorNotificationComputedValues(nextPriorNotificationComputedValues)) } catch (err) { if (err instanceof FrontendApiError) { - dispatch(displayOrLogError(err, undefined, true, DisplayedErrorKey.SIDE_WINDOW_PRIOR_NOTIFICATION_CARD_ERROR)) + dispatch(displayOrLogError(err, undefined, true, DisplayedErrorKey.SIDE_WINDOW_PRIOR_NOTIFICATION_FORM_ERROR)) return }