aboutsummaryrefslogblamecommitdiffstats
path: root/webui/src/App.tsx
blob: 16663870a0a4df58cb9419379aa580ac8f8ed73c (plain) (tree)
1
2
3
4
5
6
7
8
9
                          
                                             
 


                                    
 
                               
          
            
              

                                                           
               
             

    
import React from 'react';
import { Route, Switch } from 'react-router';

import Layout from './layout';
import BugPage from './pages/bug';
import ListPage from './pages/list';

export default function App() {
  return (
    <Layout>
      <Switch>
        <Route path="/" exact component={ListPage} />
        <Route path="/bug/:id" exact component={BugPage} />
      </Switch>
    </Layout>
  );
}