Skip to main content

Module: hooks/useSCFetchCustomAdv

Functions

useSCFetchCustomAdv

useSCFetchCustomAdv(__namedParameters): Object

info

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

Parameters

NameType
__namedParametersObject
__namedParameters.cacheStrategy?CacheStrategies
__namedParameters.categoriesId?number[]
__namedParameters.id?number
__namedParameters.position?SCCustomAdvPosition

Returns

Object

NameType
errorstring
scCustomAdvSCCustomAdvType
setSCCustomAdvDispatch<SetStateAction<SCCustomAdvType>>

Defined in

hooks/useSCFetchCustomAdv.ts:18