Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

router.jsx: Remove unused state & replace parameter #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GeniusLearner
Copy link

The two arguments state and replace in onEnter are not required.
In the route when /dashboard matches, it is directed to / using
browserHistory.push().

Closes #137

The two arguments `state` and `replace` in `onEnter` are not required.
In the route when `/dashboard` matches, it is directed to `/` using
browserHistory.push().

Closes coala#137
@TravisBuddy
Copy link

Travis tests have failed

Hey @GeniusLearner,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 3a260c30-d241-11e9-96c5-8bf35d42f9db

@RJ722
Copy link
Member

RJ722 commented Sep 8, 2019

Thanks for the contribution @GeniusLearner. Don't worry, the CI build failing looks unrelated to this issues. (same with #184).

Hey @li-boxuan, can you help us out here, please?

@GeniusLearner
Copy link
Author

Hi @RJ722 , any update on this?

@li-boxuan
Copy link
Member

We need moban sync to let Travis pass first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

router.jsx 'replace' is defined but never used
4 participants