Last active
June 23, 2018 11:02
-
-
Save alexbenic/b70194e9aeef8ff9831e791e21d8ea81 to your computer and use it in GitHub Desktop.
Revisions
-
alexbenic revised this gist
Jun 23, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,8 @@ render() { return ( <Router> <Switch> <Route exact path="/" render={() => <Redirect to="/one" />} /> <Route exact path="/one" component={Lorem} /> <Route exact path="/two" component={Lorem} /> <Route exact path="/three" component={Lorem} /> -
alexbenic revised this gist
Jun 23, 2018 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,11 @@ render() { return ( <Router> <Switch> <Route exact path="/" render={() => <Redirect to="/one" />} /> <Route exact path="/one" component={Lorem} /> <Route exact path="/two" component={Lorem} /> <Route exact path="/three" component={Lorem} /> <Route component={NotFound} /> </Switch> </Router> ); -
alexbenic revised this gist
Jun 23, 2018 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,11 @@ render() { return ( <Router> <Switch> <Route exact path="/" render={() => <Redirect to="/one" />} /> <Route exact path="/one" component={Lorem} /> <Route exact path="/two" component={Lorem} /> <Route exact path="/three" component={Lorem} /> <Route component={NotFound} /> </Switch> </Router> ); -
alexbenic created this gist
Jun 23, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ render() { return ( <Router> <Switch> <Route exact path="/" render={() => <Redirect to="/one" />} /> <Route exact path="/one" component={Lorem} /> <Route exact path="/two" component={Lorem} /> <Route exact path="/three" component={Lorem} /> <Route component={NotFound} /> </Switch> </Router> ); }