minor fix for protection
This commit is contained in:
parent
773b6dcd68
commit
8d13ae3895
|
|
@ -33,7 +33,7 @@ ReactDOM.render(
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route exact path="/" component={App} />
|
<Route exact path="/" component={App} />
|
||||||
<Route exact path="/builder" component={Editor} />
|
<ProtectedRoute path="/builder" component={Editor} />
|
||||||
<Route exact path="/login" component={LoginPage} />
|
<Route exact path="/login" component={LoginPage} />
|
||||||
<Route component={PageNotFound} />
|
<Route component={PageNotFound} />
|
||||||
</Switch>
|
</Switch>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user