Skip to content

Commit

Permalink
Fix ts compilation on older TS version
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Nov 7, 2024
1 parent 0119eb3 commit 4f0a12e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ export const ListGuesserView = (
const filterElements = inferredInputsForFilters.map(inferredInput =>
inferredInput.getElement()
);
setFilters(filterElements.filter(el => el != null));
setFilters(
filterElements.filter(el => el != null) as React.ReactElement[]
);
}

if (!enableLog) return;
Expand Down

0 comments on commit 4f0a12e

Please sign in to comment.