Skip to content

Commit

Permalink
Small PlayerCard fix.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 1bf06646af639aa5b6b59a2d2bf9c9eedf48ee49
  • Loading branch information
cpojer committed Oct 28, 2024
1 parent 2f29df9 commit 1f7a6d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hera/ui/PlayerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ export default memo(function PlayerCard({
const isActive = player.activeSkills.has(skill);
return (
<div
className={pointerStyle}
key={skill}
onClick={async (event) => {
event.stopPropagation();
Expand Down Expand Up @@ -660,3 +661,7 @@ const playerStatsBeforeIconStyle = css`
const grayscaleStyle = css`
filter: grayscale(100%);
`;

const pointerStyle = css`
cursor: pointer;
`;

0 comments on commit 1f7a6d4

Please sign in to comment.