Skip to content

Commit

Permalink
fix onclick for focus-my-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfarms committed Nov 2, 2023
1 parent 6b34448 commit b2168c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/panels/mobile-unit-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const StyledMobileUnitIcon = styled.div`
mask-size: 100%;
mask-position: center;
mask-repeat: no-repeat;
z-index: 10;
> .inner {
position: absolute;
Expand Down Expand Up @@ -53,8 +54,8 @@ const StyledMobileUnitIcon = styled.div`

const MobileUnitIcon = ({ className, onClick }) => {
return (
<StyledMobileUnitIcon className={className} onClick={onClick}>
<div className="inner">
<StyledMobileUnitIcon className={className}>
<div className="inner" onClick={onClick}>
<div className="icon" />
</div>
</StyledMobileUnitIcon>
Expand Down

0 comments on commit b2168c5

Please sign in to comment.