diff --git a/src/App.js b/src/App.js index 4420a7f..1652824 100644 --- a/src/App.js +++ b/src/App.js @@ -408,7 +408,7 @@ function App({ getString, locales, currentLocale, onLanguageChange }) { const AppLocalized = withLocalization(App) -function AppWrapper() { +function AppLanguageWrapper() { const [userLocales, setUserLocales] = useState(navigator.languages) const [currentLocale, setCurrentLocale] = useState(null) @@ -437,5 +437,5 @@ function AppWrapper() { } -export default withLocalization(AppWrapper) +export default withLocalization(AppLanguageWrapper)