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