UseTenantReturn
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
error | Error | null | Any error that occurred |
isLoading | boolean | Whether tenant is being fetched |
refetch | () => Promise<void> | Refetch tenant |
remove | () => Promise<void> | Delete the tenant |
tenant | Tenant | null | Tenant data |
update | (options) => Promise<Tenant> | Update the tenant |