Skip to content

Commit

Permalink
style: hide formation similaire quand vide
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ST0R committed Sep 24, 2024
1 parent baaad85 commit 8437560
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function FormationSimilare({ formationDetail }: { formationDetail
return <Loader withMargin />;
}

if (isError || !data) {
if (isError || !data || data.length === 0) {
return;
}

Expand Down

0 comments on commit 8437560

Please sign in to comment.