diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2018-07-22 00:42:19 +0200 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2018-07-22 00:42:19 +0200 |
commit | 4901bdadd3918833fc2cf0ad47d73aeeb061af0d (patch) | |
tree | 2f5ae5a753286295fe07120050ef7625d194dd57 /webui/src/App.js | |
parent | 62c422fa96d9751903e8eeb8ff6bccc45eb5995a (diff) | |
download | git-bug-4901bdadd3918833fc2cf0ad47d73aeeb061af0d.tar.gz |
webui: Split into multiple, smaller components
Diffstat (limited to 'webui/src/App.js')
-rw-r--r-- | webui/src/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/App.js b/webui/src/App.js index ddab0691..9cb3cdc7 100644 --- a/webui/src/App.js +++ b/webui/src/App.js @@ -6,7 +6,7 @@ import CssBaseline from "@material-ui/core/CssBaseline"; import Toolbar from "@material-ui/core/Toolbar"; import Typography from "@material-ui/core/Typography"; -import Bug from "./Bug"; +import BugPage from "./BugPage"; const Home = () => <h1>Home</h1>; @@ -22,7 +22,7 @@ const App = ({ location }) => ( </AppBar> <Switch> <Route path="/" exact component={Home} /> - <Route path="/bug/:id" exact component={Bug} /> + <Route path="/bug/:id" exact component={BugPage} /> </Switch> </React.Fragment> ); |