diff --git a/adapter/src/components/AuthBoundary.js b/adapter/src/components/AuthBoundary.js index d91c2b9aa..0abdd7cc9 100644 --- a/adapter/src/components/AuthBoundary.js +++ b/adapter/src/components/AuthBoundary.js @@ -17,14 +17,14 @@ export const AuthBoundary = ({ url, children }) => { data && (data.userSettings.keyUiLocale || window.navigator.language) ) - if (loading || !locale) { - return - } - if (error) { return } + if (loading || !locale) { + return + } + return children }