Refactor part 2: Electric Boogaloo. Standardize way of passing filter parameters.
This commit is contained in:
@@ -46,7 +46,12 @@ export function MetricsTable({
|
||||
|
||||
const { data, isLoading, isFetching, error } = useWebsiteMetricsQuery(
|
||||
websiteId,
|
||||
{ type, limit, search: searchFormattedValues ? undefined : search, ...params },
|
||||
{
|
||||
type,
|
||||
limit,
|
||||
search: searchFormattedValues ? undefined : search,
|
||||
...params,
|
||||
},
|
||||
{
|
||||
retryDelay: delay || DEFAULT_ANIMATION_DURATION,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user