Function useOrganizations
- useOrganizations(): [
IFrontOrganizations,
{
addOneOrganization: (
organization: IFrontNewOrganization,
) => Promise<void>;
delOneOrganization: (
organization: IFrontMutateOrganizationsItem,
) => Promise<void>;
errorOrganizations: Error;
loadingOrganizations: boolean;
mutateOneOrganization: (
organization: IFrontMutateOrganizationsItem,
) => Promise<void>;
},
] Returns [
IFrontOrganizations,
{
addOneOrganization: (
organization: IFrontNewOrganization,
) => Promise<void>;
delOneOrganization: (
organization: IFrontMutateOrganizationsItem,
) => Promise<void>;
errorOrganizations: Error;
loadingOrganizations: boolean;
mutateOneOrganization: (
organization: IFrontMutateOrganizationsItem,
) => Promise<void>;
},
]
Organization
Use organizations