transform query params to extra props

This commit is contained in:
NikolaBorislavovHristov 2019-10-23 16:34:38 +03:00
parent 1f9700deec
commit 99f604e94b

View file

@ -68,7 +68,7 @@ const useCatalog = (urlParams, queryParams) => {
resource: 'catalog',
type_name: type,
id: catalogId,
extra: [] // TODO
extra: Array.from(queryParams.entries())
}
}
}