Login / Logout

Login / Logout React & React Native Hooks

Import hooks

In order to use the function below, you need to import the hooks for React or React native.

Import React Hooks

import { hooks } from '@paytweed/frontend-sdk-react'

Logged inโ€‹


Checks that the user is currently logged in to their wallet

Data typeโ€‹


Usage Exampleโ€‹

const { data, error, loading } = hooks.useWalletLoggedIn()

Last updated