diff --git a/examples/basic/app.js b/examples/basic/app.js index a2223ae..abff897 100644 --- a/examples/basic/app.js +++ b/examples/basic/app.js @@ -39,7 +39,7 @@ const UserIsAuthenticated = UserAuthWrapper({ }) const UserIsAdmin = UserAuthWrapper({ authSelector: state => state.user, - failureRedirectPath: '/app', + failureRedirectPath: '/', wrapperDisplayName: 'UserIsAdmin', predicate: user => user.isAdmin, allowRedirectBack: false