The error is telling you that
this.authState.email is undefined. It’s not valid to pass an undefined value to Realtime Database. You should check that before using it this way.
I’m seeing that you assigned
user in your constructor. Your logged
user in the console, and it doesn’t have a property called
user. So, perhaps you meant
CLICK HERE to find out more related problems solutions.