hooks/useSCFetchCustomAdv
Functions
useSCFetchCustomAdv()
useSCFetchCustomAdv(
object
):object
info
This custom hook is used to fetch a custom adv object.
Parameters
Parameter | Type | Description |
---|---|---|
object | object | * |
object.cacheStrategy ? | CacheStrategies | |
object.categoriesId ? | number [] | * |
object.id ? | number | * |
object.position ? | SCCustomAdvPosition | * |
Returns
object
Member | Type |
---|---|
error | string |
scCustomAdv | SCCustomAdvType |
setSCCustomAdv | Dispatch <SetStateAction <SCCustomAdvType >> |