mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49: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
|
<Link
|
||||||
className="link"
|
className="link"
|
||||||
underline="hover"
|
underline="hover"
|
||||||
href={provideLink ? `/tools/tankopedia/${tank.id}` : undefined}
|
href={provideLink ? `/tools/tankopedia/${tank.id}` : '#'}
|
||||||
|
onClick={(event) => {
|
||||||
|
if (!provideLink) event.preventDefault();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt={tank.name}
|
alt={tank.name}
|
||||||
|
|||||||
Reference in new issue
Block a user