Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

fix incorrect store usage #376

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix incorrect store usage #376

wants to merge 2 commits into from

Conversation

zloybest
Copy link

I got error when try change navigationStateKey to anything not equal navigation.
With this fix it works.

@booboothefool
Copy link

booboothefool commented Jan 18, 2017

@zloybest This was driving me nuts! Also, it seems that when you use navigation like in the readme, it replaces the usual this.props.navigation. As a new user of this library trying to toggle a drawer, I was wondering why this.props.navigation.getNavigator('...') didn't exist (what you get for when you search toggling a drawer programmatically). Since navigation gets replaced, had to do navigator.navigationContext.getNavigator('main').toggleDrawer(). Not the best example for newbies...

screen shot 2017-01-18 at 2 19 22 pm

And this is the error @zloybest is talking about:
screen shot 2017-01-18 at 2 26 35 pm

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

Successfully merging this pull request may close these issues.

2 participants