stephencastaneda / music-director

0 stars 0 forks source link

Switch #23

Closed stephencastaneda closed 4 years ago

stephencastaneda commented 4 years ago

<Switch> <PrivateRoute path='/newsong' component={NewSong} authed={authed} /> <PrivateRoute path='/song/:songId' component={SingleSong} authed={authed} /> <PrivateRoute path='/songs' component={Song} authed={authed} /> <PrivateRoute path='/set' component={Set} authed={authed} /> <PublicRoute path='/auth' component={Auth} authed={authed} /> <Redirect from="*" to="/home"/> </Switch>