You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, based on this unmerged pr, it seems the documentation has misleading information.
Updating the code as shown in the pr now has it work as expected.
Although to be honest, I think it's a bit odd that this hook's arguments are inconsistent with the useAuthSignOut hook, especially given that the official firebase sdk's recommended way to delete / sign out a user are consistent.
There's no reason these 2 hooks should be different.
When attempting to use the
useAuthDeleteUser
hook, I recieve this error:My code for this is nearly identical to another function that uses the
useAuthSignOut
hook, and that one does not fail.The text was updated successfully, but these errors were encountered: