Skip to main content

hooks/useSCFetchCustomAdv

Functions

useSCFetchCustomAdv()

useSCFetchCustomAdv(object): object

info

This custom hook is used to fetch a custom adv object.

Parameters

ParameterTypeDescription
objectobject*
object.cacheStrategy?CacheStrategies
object.categoriesId?number[]*
object.id?number*
object.position?SCCustomAdvPosition*

Returns

object

MemberType
errorstring
scCustomAdvSCCustomAdvType
setSCCustomAdvDispatch<SetStateAction<SCCustomAdvType>>

Source

packages/react-core/src/hooks/useSCFetchCustomAdv.ts:19