MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / removeEmptyFilters

Function removeEmptyFilters

app/src/utils/hooks.ts:309–311  ·  view source on GitHub ↗
(filters: FilterData[])

Source from the content-addressed store, hash-verified

307
308// prevent blank filters from throwing off caching
309const removeEmptyFilters = (filters: FilterData[]) => {
310 return filters.filter((filter) => filter.value !== "");
311};
312
313export const useLoggedCalls = (options?: { filters?: FilterData[]; disabled?: boolean }) => {
314 const selectedProjectId = useSelectedProject().data?.id;

Callers 2

useLoggedCallsFunction · 0.85
useLoggedCallsCountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected