Skip to content

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

Open
GeniusLearner wants to merge 1 commit into
coala:masterfrom
GeniusLearner:issue-137
Open

router.jsx: Remove unused state & replace parameter#187
GeniusLearner wants to merge 1 commit into
coala:masterfrom
GeniusLearner:issue-137

Conversation

@GeniusLearner

Copy link
Copy Markdown

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
Copy Markdown

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

RJ722 commented Sep 8, 2019

Copy link
Copy Markdown
Member

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
Copy Markdown
Author

Hi @RJ722 , any update on this?

@li-boxuan

Copy link
Copy Markdown
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