Use the hook useNhostClient to get the Nhost JavaScript client (https://docs.nhost.io/reference/javascript).

const nhost = useNhostClient()