How to mutate a function in callback while google auth react? - TanStack