We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d98e7 commit b591258Copy full SHA for b591258
src/index.js
@@ -63,6 +63,7 @@ const UserAuthWrapper = (args) => {
63
return this.props.redirect
64
} else {
65
if (!this.context.router.replace) {
66
+ /* istanbul ignore next sanity */
67
throw new Error(`You must provide a router context (or use React-Router 2.x) if not passing a redirectAction to ${wrapperDisplayName}`)
68
69
return this.context.router.replace
0 commit comments