From eeedcac0d4acfd0a7fc2996fd4d1617dff131cbc Mon Sep 17 00:00:00 2001 From: Rashmi V Abbigeri Date: Wed, 21 Feb 2024 13:05:22 +0530 Subject: [PATCH] filter dao name with word scam and test --- daostar-website/src/components/ExplorePage/ExplorePage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daostar-website/src/components/ExplorePage/ExplorePage.js b/daostar-website/src/components/ExplorePage/ExplorePage.js index 24360cc..73740b5 100644 --- a/daostar-website/src/components/ExplorePage/ExplorePage.js +++ b/daostar-website/src/components/ExplorePage/ExplorePage.js @@ -9,7 +9,7 @@ export const filterRegistrations = (registration, filterVal = "") => { if (!registration.daoName) { return false; } - if (filterVal !== "") { + if (filterVal !== "test" | filterVal !== "scam" | filterVal !== "") { return registration.daoName.toLowerCase().includes(filterVal.toLowerCase()); } return true;