Skip to content

Commit

Permalink
testing filter to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizFNJ committed Feb 14, 2025
1 parent e6d5662 commit 35bc9a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ClaimReview/form/DynamicReviewTaskForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ const DynamicReviewTaskForm = ({ data_hash, personality, target }) => {
gap: "10px"
}}
>
{events?.map((event) => {
{events?.filter(event => Array.isArray(event) ? event.length > 0 : true).map((event) => {
console.log("events depois do filter", events);
return (
<AletheiaButton
loading={isLoading[event]}
Expand Down

0 comments on commit 35bc9a5

Please sign in to comment.