mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47: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 App = (): ReactElement => {
|
||||||
const locale = AppI18n.getBrowserLocale();
|
const locale = AppI18n.getDefaultLocale();
|
||||||
const EnhacedEditorPage = withSessionExpirationHandling(EditorPage);
|
const EnhacedEditorPage = withSessionExpirationHandling(EditorPage);
|
||||||
|
|
||||||
return locale.message ? (
|
return locale.message ? (
|
||||||
@ -81,7 +81,7 @@ const App = (): ReactElement => {
|
|||||||
component={withSessionExpirationHandling(MapsPage)}
|
component={withSessionExpirationHandling(MapsPage)}
|
||||||
/>
|
/>
|
||||||
<Route exact path="/c/maps/:id/edit">
|
<Route exact path="/c/maps/:id/edit">
|
||||||
<EnhacedEditorPage isTryMode={false}/>
|
<EnhacedEditorPage isTryMode={false} />
|
||||||
</Route>
|
</Route>
|
||||||
<Route exact path="/c/maps/:id/try">
|
<Route exact path="/c/maps/:id/try">
|
||||||
<EnhacedEditorPage isTryMode={true} />
|
<EnhacedEditorPage isTryMode={true} />
|
||||||
|
Loading…
Reference in New Issue
Block a user