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

undefined is not an object (evaluating 'resetAction.actions.map') #2808

Closed
sonalpaghadal opened this issue Jan 18, 2018 · 1 comment
Closed

Comments

@sonalpaghadal
Copy link

sonalpaghadal commented Jan 18, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux v4.?.? (v3 is not supported) 4.0.0-beta.22
  • react-native v0.?.? ^0.47.2

Expected behaviour

Push screen using "Actions.userprofile()" should push & replace the screen with profile screen.

Actual behaviour

Getting error: undefined is not an object (evaluating 'resetAction.actions.map')

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

  1. Set scene like,
<Scene
                  key="userprofile"
                  component={Profile}
                  title="Profile"
                  back={true}
                  backButtonImage={Images.backArrow}
                  type={ActionConst.REPLACE}
                />
  1. Try to push screen using Actions.userprofile()
@Blapi
Copy link
Collaborator

Blapi commented Jan 18, 2018

Duplicate #2799

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

No branches or pull requests

2 participants