undo unrel

This commit is contained in:
Dan Abramov
2024-01-19 03:14:24 +00:00
parent 358841eaa5
commit 84c4148600
+1 -1
View File
@@ -56,7 +56,7 @@ export function MainScrollProvider({children}: {children: React.ReactNode}) {
}
}
},
[headerHeight, mode, setMode, startDragOffset, startMode],
[startDragOffset, startMode, setMode, mode, headerHeight],
)
const onScroll = useCallback(