Skip to content

Commit

Permalink
fix: empty state search only if no results
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Nov 12, 2024
1 parent cb6707c commit c6062c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/pages/dashboard/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default function DashboardSearch() {
))}
</Box>
)}
{!!debouncedSearch && (
{!!debouncedSearch && !partners.length && (
<Box mt={12}>
<Text color="disabled" textAlign="center" px={20}>
Nous n'avons pas
Expand Down

0 comments on commit c6062c9

Please sign in to comment.