diff --git a/src/utils/savedFilters.ts b/src/utils/savedFilters.ts index 91685b1..0af60ad 100644 --- a/src/utils/savedFilters.ts +++ b/src/utils/savedFilters.ts @@ -100,7 +100,7 @@ const getCount = (filter) => type: QueryTypes.SELECT, }, ) - .then((res) => res[0]['count']); + .then((res) => Number(res[0]['count'])); export const handleUniqueName = async (filter) => { if (!filter.title) {