From 672e97fc8781fb61e33df2da6c8a2a0f366ec64f Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Thu, 3 Oct 2024 22:53:40 -0700 Subject: [PATCH] fix: remove unused filter --- config/filters/index.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/filters/index.js b/config/filters/index.js index c43375c..a83ab01 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -29,14 +29,6 @@ export const organizeByDate = (collection) => { return collectionByDate; }; -const allTags = (collection, ignore = []) => { - const tagSet = new Set(collection.flatMap((item) => item.data.tags)); - - ignore.forEach((tag) => tagSet.delete(tag)); - - return [...tagSet]; -}; - export const allTagCounts = (collection, ignore = ["post"]) => { if (!collection.length) { throw new Error("Invalid collection, no items");