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​

Description​

Checks that the user is currently logged in to their wallet

Data type​

boolean

Usage Example​

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

Last updated