mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-21 22:27:56 +01:00
Minor change.
This commit is contained in:
parent
75274e5cc8
commit
0f8d3a3c89
@ -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} />
|
||||
|
Loading…
Reference in New Issue
Block a user