Remove redundant sidebar live width effect (#3160)
This commit is contained in:
parent
a4808f22c5
commit
daa6e2da43
|
|
@ -59,10 +59,6 @@ function Sidebar({
|
|||
onDraftWidthChange: setLiveSidebarWidth
|
||||
})
|
||||
|
||||
useEffect(() => {
|
||||
setLiveSidebarWidth(sidebarWidth)
|
||||
}, [setLiveSidebarWidth, sidebarWidth])
|
||||
|
||||
return (
|
||||
<TooltipProvider delayDuration={400}>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Reference in New Issue