Skip to content

Commit

Permalink
filter optimism non sunrise
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Oct 9, 2024
1 parent ff4c1d3 commit 95f0bcc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion daostar-website/src/components/ExplorePage/ExplorePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => (
<RegistrationCard key={i} {...registration} />
));

case "optimism-goerli":
return registrationInstances
.filter((reg) => NetworkFilterRegistrations(reg, "optimism-goerli"))
Expand Down

0 comments on commit 95f0bcc

Please sign in to comment.