isOwnerConnected
Checks if the signer connected to the SafeProvider
is an owner of the connected Safe.
Use the isSignerConnected
function instead to avoid checking ownership.
Usage
_13import { useSafe } from '@safe-global/safe-react-hooks'_13_13function IsOwnerConnected() {_13 const { isOwnerConnected } = useSafe()_13_13 return (_13 <>_13 {isOwnerConnected ? 'Owner is connected' : 'No owner connected'}_13 </>_13 )_13}_13_13export default IsOwnerConnected
Returns
boolean
The boolean value that indicates if an owner of the Safe is connected as a signer.