diff --git a/services/backend-api/client/src/components/SaveUnsavedChangesPopupBar/index.tsx b/services/backend-api/client/src/components/SaveUnsavedChangesPopupBar/index.tsx index 50a2a2f8e..b4f87ace7 100644 --- a/services/backend-api/client/src/components/SaveUnsavedChangesPopupBar/index.tsx +++ b/services/backend-api/client/src/components/SaveUnsavedChangesPopupBar/index.tsx @@ -1,7 +1,6 @@ import { useFormContext } from "react-hook-form"; import { Button, Flex, HStack, Text } from "@chakra-ui/react"; import { motion } from "framer-motion"; -import { useTranslation } from "react-i18next"; import { isEqual } from "lodash"; import { AnimatedComponent } from "../AnimatedComponent"; @@ -15,7 +14,6 @@ interface Props { } export const SavedUnsavedChangesPopupBar = ({ useDirtyFormCheck }: Props) => { - const { t } = useTranslation(); const { formState: { isSubmitting, isValid, defaultValues, isDirty: formContextIsDirty }, reset, @@ -45,14 +43,14 @@ export const SavedUnsavedChangesPopupBar = ({ useDirtyFormCheck }: Props) => { exit={{ opacity: 0, bottom: "-100px" }} > - You have unsaved changes! + You have unsaved changes on this page! diff --git a/services/backend-api/client/src/features/feedConnections/components/DiscordMessageForm/index.tsx b/services/backend-api/client/src/features/feedConnections/components/DiscordMessageForm/index.tsx index c545cc745..4f2da6d46 100644 --- a/services/backend-api/client/src/features/feedConnections/components/DiscordMessageForm/index.tsx +++ b/services/backend-api/client/src/features/feedConnections/components/DiscordMessageForm/index.tsx @@ -433,14 +433,14 @@ export const DiscordMessageForm = ({ onClickSave, articleIdToPreview, guildId }: exit={{ opacity: 0, bottom: "-100px" }} > - You have unsaved changes! + You have unsaved changes on this page!