diff --git a/app/common/components/ThemeToggle/index.tsx b/app/common/components/ThemeToggle/index.tsx index 2548086..a70011c 100644 --- a/app/common/components/ThemeToggle/index.tsx +++ b/app/common/components/ThemeToggle/index.tsx @@ -1,4 +1,4 @@ -import { translate, COMMON } from 'app/utils/localize'; +import i18n, { COMMON } from 'app/utils/localize'; import { ReactElement } from 'react'; import { getTheme } from 'app/utils/hooks/useTheme'; @@ -15,8 +15,8 @@ interface ToggleProps { const Toggle = ({ handleToggle }: ToggleProps): ReactElement => { return (