Skip to main content

hooks/useSCFetchGroup

Functions

useSCFetchGroup()

useSCFetchGroup(object): object

info

This custom hook is used to fetch a group object.

Parameters

ParameterTypeDescription
object{ cacheStrategy: CacheStrategies; group: SCGroupType; id: string | number; }*
object.cacheStrategy?CacheStrategies
object.group?SCGroupType*
object.id?string | number*

Returns

object

NameType
errorstring
scGroupSCGroupType
setSCGroup()(group) => void