fix Redirect to repo redirection url

This commit is contained in:
Mohamed Karray
2019-03-07 17:49:20 +01:00
parent ab79b94bc0
commit c02bf1120c
2 changed files with 6 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ class Main extends React.Component<Props> {
return (
<div className="main">
<Switch>
<Redirect exact path="/" to={url}/>
<Redirect exact from="/" to={url}/>
<Route exact path="/login" component={Login} />
<Route path="/logout" component={Logout} />
<ProtectedRoute