Skip to content

Commit

Permalink
filter dao name with word scam and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Feb 21, 2024
1 parent c06a8d0 commit eeedcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daostar-website/src/components/ExplorePage/ExplorePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eeedcac

Please sign in to comment.