Skip to content

Commit

Permalink
Redirect to /schedule when / is visited.
Browse files Browse the repository at this point in the history
  • Loading branch information
jthoms1 committed Jan 25, 2019
1 parent 6303d77 commit 8c9e3e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/AppStack.tsx
Expand Up @@ -6,10 +6,11 @@ import SpeakerDetail from './SpeakerDetail';
import MapView from './Map';
import About from './About';
import { IonTabs, IonTabButton, IonIcon, IonLabel, IonRouterOutlet, IonTabBar } from '@ionic/react';
import { Route } from 'react-router';
import { Route, Redirect } from 'react-router';

const AppStack: React.SFC = () => (
<div className="ion-page">
<Route exact path="/" render={() => <Redirect to="/schedule"/>}/>
{
/**
* Only render exact matches. Only destroy on back button click
Expand Down

0 comments on commit 8c9e3e4

Please sign in to comment.