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

example/react-router-v4: Update push reference #2035

Merged
merged 5 commits into from
Mar 9, 2017
Merged

example/react-router-v4: Update push reference #2035

merged 5 commits into from
Mar 9, 2017

Conversation

Kikobeats
Copy link

What project are you opening a pull request for?

  • react-instantsearch (use v2 base)

Summary

Related with #2023 (comment)

@Kikobeats
Copy link
Author

not sure if exists a way for check history.push is a function

@@ -91,7 +92,7 @@ class App extends Component {
}

App.propTypes = {
push: React.PropTypes.func.isRequired,
history: React.PropTypes.object.isRequired,
Copy link
Contributor

@Haroenv Haroenv Mar 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

http://stackoverflow.com/a/26924696/3185307

{
  history: React.PropTypes.shape({{
    push: React.PropTypes.func.isRequired,
  }),
}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're my hero

@@ -95,7 +95,7 @@ App.propTypes = {
history: PropTypes.shape({
push: PropTypes.func.isRequired,
}),
location: PropTypes.object.isRequired
location: PropTypes.object.isRequired,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wut

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry my fault

Copy link
Contributor

@mthuret mthuret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after the comma dangle fix :D

@mthuret mthuret merged commit de673bf into algolia:v2 Mar 9, 2017
@Kikobeats Kikobeats deleted the patch-1 branch March 9, 2017 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants