mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: cursor and underline on hover in compare tank list
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user