diff --git a/frontend/src/components/translations/TranslationForm.tsx b/frontend/src/components/translations/TranslationForm.tsx index c4fb1dcc..a796c94b 100644 --- a/frontend/src/components/translations/TranslationForm.tsx +++ b/frontend/src/components/translations/TranslationForm.tsx @@ -65,7 +65,7 @@ export const TranslationForm: FC> = ({ const { mutate: updateTranslation } = useUpdate(EntityType.TRANSLATION, { onError: (error: Error) => { rest.onError?.(); - toast.error(error || t("message.internal_server_error")); + toast.error(error.message || t("message.internal_server_error")); }, onSuccess() { rest.onSuccess?.();