Last updated 1 year ago
Was this helpful?
the useUser hook is used to get the current user. this returns a object.
useUser
import { useUser } from '@minchat/reactnative';
the user returned is the user that was set as the currentUser when
currentUser
const user = useUser()