Skip to content

Commit

Permalink
Fix Route import
Browse files Browse the repository at this point in the history
  • Loading branch information
mroote committed Mar 1, 2019
1 parent 2a69a8d commit dabc659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class App extends React.Component {
<Route path="/saves" render={(props) => {return <SavesContent {...props} {...appProps}/>}}/>
<Route path="/config" render={(props) => {return <ConfigContent {...props} {...appProps}/>}}/>
<Route path="/console" render={(props) => {return <ConsoleContent {...props} {...appProps}/>}}/>
<Route exakt path="/" render={(props) => {return <Index {...props} {...appProps} />}}/>
<Route exact path="/" render={(props) => {return <Index {...props} {...appProps} />}}/>
</Switch>

<Footer />
Expand Down
3 changes: 1 addition & 2 deletions ui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ $('body').on("show.bs.collapse hide.bs.collapse", (e) => {
*/
import React from 'react';
import ReactDOM from 'react-dom';
import {Route} from 'react-router';
import App from './App/App.jsx';
import LoginContent from './App/components/LoginContent.jsx';
import {BrowserRouter, Switch} from "react-router-dom";
import {BrowserRouter, Switch, Route} from "react-router-dom";

/**
* Start React Render
Expand Down

0 comments on commit dabc659

Please sign in to comment.