Skip to content

Commit dabc659

Browse files
committed
Fix Route import
1 parent 2a69a8d commit dabc659

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ui/App/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class App extends React.Component {
181181
<Route path="/saves" render={(props) => {return <SavesContent {...props} {...appProps}/>}}/>
182182
<Route path="/config" render={(props) => {return <ConfigContent {...props} {...appProps}/>}}/>
183183
<Route path="/console" render={(props) => {return <ConsoleContent {...props} {...appProps}/>}}/>
184-
<Route exakt path="/" render={(props) => {return <Index {...props} {...appProps} />}}/>
184+
<Route exact path="/" render={(props) => {return <Index {...props} {...appProps} />}}/>
185185
</Switch>
186186

187187
<Footer />

ui/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ $('body').on("show.bs.collapse hide.bs.collapse", (e) => {
2626
*/
2727
import React from 'react';
2828
import ReactDOM from 'react-dom';
29-
import {Route} from 'react-router';
3029
import App from './App/App.jsx';
3130
import LoginContent from './App/components/LoginContent.jsx';
32-
import {BrowserRouter, Switch} from "react-router-dom";
31+
import {BrowserRouter, Switch, Route} from "react-router-dom";
3332

3433
/**
3534
* Start React Render

0 commit comments

Comments
 (0)