1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-12 10:02:49 +00:00

formatting

This commit is contained in:
2017-08-26 21:23:05 -05:00
parent cc0be44b54
commit 689d1b4df0
10 changed files with 115 additions and 133 deletions

View File

@@ -8,27 +8,22 @@ import NotFound from './pages/NotFound/NotFound';
//styling
import './scss/index.scss';
interface Props {
}
interface Props {}
interface State {
}
interface State {}
export default class Wrapper extends React.Component<Props, State> {
render() {
return (
<BrowserRouter>
<div>
<Navbar/>
<Switch>
<Route exact path="/" component={Home}/>
<Route component={NotFound}/>
</Switch>
</div>
</BrowserRouter>
);
}
render() {
return (
<BrowserRouter>
<div>
<Navbar />
<Switch>
<Route exact path="/" component={Home} />
<Route component={NotFound} />
</Switch>
</div>
</BrowserRouter>
);
}
}