diff --git a/app/scripts/translatte/commands/applyMigrations.ts b/app/scripts/translatte/commands/applyMigrations.ts index 67aaaa0594..dbcb8b39e5 100644 --- a/app/scripts/translatte/commands/applyMigrations.ts +++ b/app/scripts/translatte/commands/applyMigrations.ts @@ -135,7 +135,7 @@ async function applyMigrations( console.info(`Found ${selectedMigrationFilesAttrs.length} migration files`); if (selectedMigrationFilesAttrs.length < 1) { - throw 'There should be atleast 1 migration file'; + throw 'There should be at least 1 migration file'; } const selectedMigrations = await readMigrations( diff --git a/app/src/App/index.tsx b/app/src/App/index.tsx index 43d5b5d28e..ba1e866f06 100644 --- a/app/src/App/index.tsx +++ b/app/src/App/index.tsx @@ -157,9 +157,9 @@ function Application() { ] = useState>({}); const setAndStoreCurrentLanguage = useCallback( - (newLanugage: Language) => { - setCurrentLanguage(newLanugage); - setToStorage(KEY_LANGUAGE_STORAGE, newLanugage); + (newLanguage: Language) => { + setCurrentLanguage(newLanguage); + setToStorage(KEY_LANGUAGE_STORAGE, newLanguage); }, [], ); diff --git a/app/src/components/Navbar/LanguageDropdown/index.tsx b/app/src/components/Navbar/LanguageDropdown/index.tsx index 29ac0e8c1c..b6d3040d38 100644 --- a/app/src/components/Navbar/LanguageDropdown/index.tsx +++ b/app/src/components/Navbar/LanguageDropdown/index.tsx @@ -32,7 +32,7 @@ const languageList = mapToList( (value, key) => ({ key: key as Language, value }), ); -function LangaugeDropdown() { +function LanguageDropdown() { const { currentLanguage, setCurrentLanguage, @@ -90,4 +90,4 @@ function LangaugeDropdown() { ); } -export default LangaugeDropdown; +export default LanguageDropdown; diff --git a/app/src/components/Navbar/index.tsx b/app/src/components/Navbar/index.tsx index 7d6f5700af..45f447d07e 100644 --- a/app/src/components/Navbar/index.tsx +++ b/app/src/components/Navbar/index.tsx @@ -21,7 +21,7 @@ import useAuth from '#hooks/domain/useAuth'; import AuthenticatedUserDropdown from './AuthenticatedUserDropdown'; import CountryDropdown from './CountryDropdown'; -import LangaugeDropdown from './LanguageDropdown'; +import LanguageDropdown from './LanguageDropdown'; import i18n from './i18n.json'; import styles from './styles.module.css'; @@ -71,7 +71,7 @@ function Navbar(props: Props) { className={styles.actions} variant="tertiary" > - + {!isAuthenticated && ( <> { + const handleClearFiltersButtonClick = useCallback(() => { setFilter({}); }, [setFilter]); @@ -403,7 +403,7 @@ function ActiveOperationMap(props: Props) { />