Using supabase and React Query
Hi, i've just started using React Query and i'm a bit confused about how i should use it with supabase. If someone who already have an experience with it could help me, i would be very much appreciated.
I getting the current user like this
And at the profile screen i'm trying to display the user as
But when i try to display any info typescript throws an error. How should i get user info?
I getting the current user like this
And at the profile screen i'm trying to display the user as
const { data, isLoading } = useUser();But when i try to display any info typescript throws an error. How should i get user info?