import { useContext } from 'react';
import { UserContext } from './internal';
/**
 * Get the current User object (or null if not logged in)
 *
 * Does not redirect to login
 * @see {@link useAuthedUser}
 */
export function useUser() {
    return useContext(UserContext);
}
//# sourceMappingURL=useUser.js.map