useZigap
useZigap
is a hook that fetches the information of the logged-in user in the zigap app and provides a logout function.
Usage
Example
UserInfo
name
type
address
string | undefined
network
string | undefined
nickname
string | undefined
token
string | undefined
issuedDateTime
string | undefined
expireDateTime
string | undefined
logout
It is a function that delete only the stored local storage value. Refresh the page if necessary.
Last updated