fix: prevent defailt on clicking select all link

This commit is contained in:
TrèsAbhi committed 2024-10-18 10:47:12 -05:00
1 parent 3d82a2ec75
commit 700bb544a3
1 file changed
+4 -1
@@ -424,7 +424,10 @@ export const TankSearch = memo<TankSearchProps>(
<Link <Link
underline="always" underline="always"
href="#" href="#"
onClick={() => onSelectAll(tanksFiltered)} onClick={(event) => {
event.preventDefault();
onSelectAll(tanksFiltered);
}}
> >
Select all Select all
</Link> </Link>