diff --git a/src/realm-settings/AddMessageBundleModal.tsx b/src/realm-settings/AddMessageBundleModal.tsx index 72db99c3c6..fd57ce88b6 100644 --- a/src/realm-settings/AddMessageBundleModal.tsx +++ b/src/realm-settings/AddMessageBundleModal.tsx @@ -29,14 +29,14 @@ export const AddMessageBundleModal = ({ handleModalToggle, save, }: AddMessageBundleModalProps) => { - const { t } = useTranslation("groups"); + const { t } = useTranslation("realm-settings"); const { register, errors, handleSubmit } = useForm(); return (
@@ -80,29 +80,28 @@ export const AddMessageBundleModal = ({ id="add-key" name="key" validated={ - errors.email ? ValidatedOptions.error : ValidatedOptions.default + errors.key ? ValidatedOptions.error : ValidatedOptions.default } />