-
-
Notifications
You must be signed in to change notification settings - Fork 553
Closed
Labels
Description
What is the current behavior?
I'm probably missing something obvious, but I keep getting an error where undefined
is provided in place of string when trying to write profile with creating new user.
It appears that in createUserProfile
it attempts to access uid
on userData
, but it actually is found a layer deeper on user
.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.
onSubmit:
this.props.firebase.createUser({
email: values.email,
password: values.password,
}, {
email: values.email,
organization: values.organization,
});
rrfConfig:
const rrfConfig = {
enableLogging: false,
useFirestoreForProfile: true,
userProfile: 'users',
};
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
I'm using:
"firebase": "^5.0.1",
"react-redux-firebase": "^2.1.1",
"redux-firestore": "^0.5.2",