From 4f7a919181153ab1395fb6d5282a6c1c808a1217 Mon Sep 17 00:00:00 2001 From: thomasrosen Date: Thu, 29 Apr 2021 09:51:24 +0200 Subject: [PATCH] renamed AppWrapper to AppLanguageWrapper --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)