hooks/useSCFetchGroup
Functions
useSCFetchGroup()
useSCFetchGroup(
object
):object
info
This custom hook is used to fetch a group object.
Parameters
Parameter | Type | Description |
---|---|---|
object | object | * |
object.cacheStrategy ? | CacheStrategies | |
object.group ? | SCGroupType | * |
object.id ? | string | number | * |
Returns
object
Member | Type |
---|---|
error | string |
scGroup | SCGroupType |
setSCGroup | (group ) => void |