fix: cursor and underline on hover in compare tank list

This commit is contained in:
tresabhi committed 2024-12-14 14:44:53 -06:00
1 parent 9e4bdcd458
commit 12e7d664e5
1 file changed
+4 -1
@@ -63,7 +63,10 @@ export const TankCard = forwardRef<HTMLSpanElement, TankCardProps>(
<Link
className="link"
underline="hover"
href={provideLink ? `/tools/tankopedia/${tank.id}` : undefined}
href={provideLink ? `/tools/tankopedia/${tank.id}` : '#'}
onClick={(event) => {
if (!provideLink) event.preventDefault();
}}
>
<img
alt={tank.name}