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