From 95f0bcc914a45f56b901fff27346469d4430e5c6 Mon Sep 17 00:00:00 2001 From: Rashmi-278 Date: Wed, 9 Oct 2024 18:00:21 +0700 Subject: [PATCH] filter optimism non sunrise --- daostar-website/src/components/ExplorePage/ExplorePage.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/daostar-website/src/components/ExplorePage/ExplorePage.js b/daostar-website/src/components/ExplorePage/ExplorePage.js index 0a324031..0b92ff05 100644 --- a/daostar-website/src/components/ExplorePage/ExplorePage.js +++ b/daostar-website/src/components/ExplorePage/ExplorePage.js @@ -158,10 +158,16 @@ const ExplorePage = ({ case "optimism": return registrationInstances - .filter((reg) => NetworkFilterRegistrations(reg, "optimism")) + .filter( + (reg) => + NetworkFilterRegistrations(reg, "optimism") && + reg.daoAddress !== "0xdeb9e5915db81011c549799a9ea37ede4d72efba" && + reg.id !== "0xdf732f01c22a0d06bf48f511ff6171b956bf9022" // Filter out specific daoAddress + ) .map((registration, i) => ( )); + case "optimism-goerli": return registrationInstances .filter((reg) => NetworkFilterRegistrations(reg, "optimism-goerli"))