Skip to content

Commit

Permalink
add filter for ploygonid
Browse files Browse the repository at this point in the history
  • Loading branch information
FBalint committed Jul 4, 2024
1 parent 07e58ad commit 710d2ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/solutions/AddSolutionsButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,10 @@ const AddSolutionsButton = () => {
>
<Category
heading="Sybil Protection"
items={sybil}
items={sybil.filter(
(solution) =>
showPolygonId || solution.handlerParam !== "POLYGON_ID"
)}
onSelectReward={onSelectReward}
onSelectSolution={onSelectSolution}
searchQuery={search}
Expand Down

0 comments on commit 710d2ab

Please sign in to comment.