From ead9bc6105fbdb0b1b1c9854bd82cbb731700da8 Mon Sep 17 00:00:00 2001 From: L4168 <L4168@student.jamk.fi> Date: Wed, 17 Jul 2019 15:05:06 +0300 Subject: [PATCH] replay routed --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 4a1bbae..b23d165 100644 --- a/src/App.js +++ b/src/App.js @@ -189,9 +189,9 @@ export default class App extends Component { <Redirect from="*" to="/" /> </Switch> )} - {this.state.logged && ( <Switch> + <Route exact path="/replay" component={this.replay} /> <Route path="/game" component={() => { -- GitLab