Minor change.

This commit is contained in:
Paulo Gustavo Veiga 2022-03-14 23:19:03 -03:00
parent 75274e5cc8
commit 0f8d3a3c89

View File

@ -38,7 +38,7 @@ const queryClient = new QueryClient({
});
const App = (): ReactElement => {
const locale = AppI18n.getBrowserLocale();
const locale = AppI18n.getDefaultLocale();
const EnhacedEditorPage = withSessionExpirationHandling(EditorPage);
return locale.message ? (
@ -81,7 +81,7 @@ const App = (): ReactElement => {
component={withSessionExpirationHandling(MapsPage)}
/>
<Route exact path="/c/maps/:id/edit">
<EnhacedEditorPage isTryMode={false}/>
<EnhacedEditorPage isTryMode={false} />
</Route>
<Route exact path="/c/maps/:id/try">
<EnhacedEditorPage isTryMode={true} />