Skip to content

Commit 2972d28

Browse files
committed
chore: remove unused state
1 parent 3b82b9c commit 2972d28

File tree

1 file changed

+0
-3
lines changed
  • webapp/app.ironcalc.com/frontend/src/components/LeftDrawer

1 file changed

+0
-3
lines changed

webapp/app.ironcalc.com/frontend/src/components/LeftDrawer/LeftDrawer.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const LeftDrawer: React.FC<LeftDrawerProps> = ({
2929
models,
3030
selectedUuid,
3131
}) => {
32-
const [hoveredUuid, setHoveredUuid] = useState<string | null>(null);
3332
const [menuAnchorEl, setMenuAnchorEl] = useState<null | HTMLElement>(null);
3433
const [selectedWorkbookUuid, setSelectedWorkbookUuid] = useState<
3534
string | null
@@ -72,8 +71,6 @@ const LeftDrawer: React.FC<LeftDrawerProps> = ({
7271
setModel(uuid);
7372
}}
7473
selected={uuid === selectedUuid}
75-
onMouseEnter={() => setHoveredUuid(uuid)}
76-
onMouseLeave={() => setHoveredUuid(null)}
7774
disableRipple
7875
>
7976
<StorageIndicator>

0 commit comments

Comments
 (0)