christianpredebon

Results 6 comments of christianpredebon

I ran into the same issue this morning and I can't find out where the problem is. Anyway while we're waiting from a response from @hernansartorio I share with you...

You can check for the property before going ahead ```ts function onLoginSuccess(res: GoogleLoginResponseOffline | GoogleLoginResponse) { if ("profileObj" in res) { console.log(res.profileObj) // works fine } } ```

Thanks, I can also confirm that adding `react-test-renderer` to the dev dependencies works