Skip to content

Commit 3223c8d

Browse files
committed
feature/auto-hide-tab-bar refactored
1 parent 98107e5 commit 3223c8d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frontend/app/tab/tabbar.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,7 @@ const TabBar = memo(({ workspace }: TabBarProps) => {
210210
}
211211

212212
tabbarWrapperRef.current.addEventListener("mouseenter", handleAutoHideTabBar);
213-
return () => {
214-
tabbarWrapperRef.current.removeEventListener("mouseenter", handleAutoHideTabBar);
215-
}
213+
return () => tabbarWrapperRef.current.removeEventListener("mouseenter", handleAutoHideTabBar);
216214
}, [autoHideTabBar])
217215

218216
// Update refs when tabIds change

0 commit comments

Comments
 (0)