aboutsummaryrefslogtreecommitdiff
path: root/src/Dashboard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Dashboard.tsx')
-rw-r--r--src/Dashboard.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Dashboard.tsx b/src/Dashboard.tsx
index f514b38..f9e7274 100644
--- a/src/Dashboard.tsx
+++ b/src/Dashboard.tsx
@@ -16,6 +16,7 @@ import { theme } from './theme';
import Logo from './Logo';
import Analyze from './Analyze';
import Settings from './Settings';
+import About from './About';
const styles = (theme: Theme) => ({
root: {
@@ -103,6 +104,7 @@ class DashboardTabs extends React.Component<DashboardTabsProps> {
onChange={this.handleChangeTab}>
<Tab label="Settings" {...{component: Link, to: "/settings"} as any} value="/settings" />
<Tab label="Analyze" {...{component: Link, to: "/analyze"} as any} value="/analyze" />
+ <Tab label="About" {...{component: Link, to: "/about"} as any} value="/about" />
</Tabs>
</Toolbar>
</AppBar>
@@ -124,6 +126,7 @@ class DashboardTabs extends React.Component<DashboardTabsProps> {
{console.log(location)}
<Route exact path="/settings" component={Settings} />
<Route exact path="/analyze" component={Analyze} />
+ <Route exact path="/about" component={About} />
<Route exact path="/" render={() => <Redirect to="/settings" />}/>
</Switch>
</div>