isInitialized
Checks if the SafeProvider
is initialized and ready to use.
This function must be called before interacting with the Safe.
Usage
_13import { useSafe } from '@safe-global/safe-react-hooks'_13_13function IsInitialized() {_13 const { isInitialized } = useSafe()_13_13 return (_13 <>_13 {isInitialized ? 'Is initialized' : 'Not initialized'}_13 </>_13 )_13}_13_13export default IsInitialized
Returns
boolean
The boolean value that indicates if the SafeProvider
is initialized and ready to use.