-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
I've tried implementing this example based on the docs:
<Scene key="root" component={connect(state=>({profile:state.profile}))(Switch)} tabs={true}
selector={props=>props.profile.sessionID ? "main" : "signUp"}>
<Scene key="signUp" component={SignUp}/>
<Scene key="main" component={Main}>
</Scene>
but I get a red screen with the error:
console.error: selector should be defined
Any advice?
Any advice?
Metadata
Metadata
Assignees
Labels
No labels