diff --git a/src/components/App/component.tsx b/src/components/App/component.tsx index 7c25603ce4..d333a146bd 100644 --- a/src/components/App/component.tsx +++ b/src/components/App/component.tsx @@ -12,6 +12,7 @@ import PasswordRequest from "components/PasswordReset/Request"; import PasswordReset from "components/PasswordReset/ResetPage"; import ProjectInvite from "components/ProjectInvite/ProjectInvite"; import RequireAuth from "components/RequireAuth"; +import UpperRightToastContainer from "components/Toast/UpperRightToastContainer"; const AppWithBar = loadable(() => import("components/App/AppLoggedIn")); @@ -23,6 +24,7 @@ export default function App(): ReactElement {
}> + diff --git a/src/components/ProjectSettings/ProjectLanguages.tsx b/src/components/ProjectSettings/ProjectLanguages.tsx index aae28e89aa..f5ef3a70c4 100644 --- a/src/components/ProjectSettings/ProjectLanguages.tsx +++ b/src/components/ProjectSettings/ProjectLanguages.tsx @@ -23,7 +23,6 @@ import { WritingSystem } from "api/models"; import { getFrontierWords } from "backend"; import { IconButtonWithTooltip } from "components/Buttons"; import { ProjectSettingPropsWithUpdate } from "components/ProjectSettings/ProjectSettingsTypes"; -import { UpperRightToastContainer } from "components/Toast/UpperRightToastContainer"; import theme from "types/theme"; import { newWritingSystem, semDomWritingSystems } from "types/writingSystem"; import { getAnalysisLangsFromWords } from "utilities/wordUtilities"; @@ -142,7 +141,6 @@ export default function ProjectLanguages( return ( <> - {t("projectSettings.language.vernacular")} {": "} diff --git a/src/components/ProjectSettings/ProjectUsers/AddProjectUsers.tsx b/src/components/ProjectSettings/ProjectUsers/AddProjectUsers.tsx index ad51d51eab..db882a0335 100644 --- a/src/components/ProjectSettings/ProjectUsers/AddProjectUsers.tsx +++ b/src/components/ProjectSettings/ProjectUsers/AddProjectUsers.tsx @@ -9,7 +9,6 @@ import * as backend from "backend"; import { asyncRefreshCurrentProjectUsers } from "components/Project/ProjectActions"; import EmailInvite from "components/ProjectSettings/ProjectUsers/EmailInvite"; import UserList from "components/ProjectSettings/ProjectUsers/UserList"; -import { UpperRightToastContainer } from "components/Toast/UpperRightToastContainer"; import { StoreState } from "types"; import { useAppDispatch, useAppSelector } from "types/hooks"; import { RuntimeConfig } from "types/runtimeConfig"; @@ -59,7 +58,6 @@ export default function AddProjectUsers(): ReactElement { <> - {RuntimeConfig.getInstance().emailServicesEnabled() && ( diff --git a/src/components/Pronunciations/AudioRecorder.tsx b/src/components/Pronunciations/AudioRecorder.tsx index 183bed323b..47256791e5 100644 --- a/src/components/Pronunciations/AudioRecorder.tsx +++ b/src/components/Pronunciations/AudioRecorder.tsx @@ -4,7 +4,6 @@ import { toast } from "react-toastify"; import Recorder from "components/Pronunciations/Recorder"; import RecorderIcon from "components/Pronunciations/RecorderIcon"; -import { UpperRightToastContainer } from "components/Toast/UpperRightToastContainer"; interface RecorderProps { wordId: string; @@ -49,13 +48,10 @@ export default function AudioRecorder(props: RecorderProps): ReactElement { } return ( - <> - - - + ); } diff --git a/src/components/Pronunciations/tests/__snapshots__/Pronunciations.test.tsx.snap b/src/components/Pronunciations/tests/__snapshots__/Pronunciations.test.tsx.snap index 155e013991..0b9082f5d8 100644 --- a/src/components/Pronunciations/tests/__snapshots__/Pronunciations.test.tsx.snap +++ b/src/components/Pronunciations/tests/__snapshots__/Pronunciations.test.tsx.snap @@ -2,9 +2,6 @@ exports[`Pronunciations displays buttons 1`] = ` Array [ -
,