Skip to content

Commit 76df25e

Browse files
author
Vikas Agarwal
committed
Fixed lint error
1 parent 12643b1 commit 76df25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const redirectToProject = (nextState, replace, callback) => {
4040
replace('/projects')
4141
callback()
4242
})
43-
}).catch((error) => {
43+
}).catch(() => {
4444
// FIXME should we include hash, search etc
4545
const redirectBackToUrl = window.location.origin + '/' + nextState.location.pathname
4646
const newLocation = ACCOUNTS_APP_LOGIN_URL + '?retUrl=' + redirectBackToUrl

0 commit comments

Comments
 (0)