npm run prettier-fix

This commit is contained in:
Marc Abramowitz 2025-05-27 17:33:51 -07:00
commit 0a3b994540

View file

@ -72,7 +72,10 @@ export function useDraggableSidebar(initialWidth: number) {
(e: MouseEvent) => {
if (!isDragging) return;
const deltaX = e.clientX - dragStartX.current;
const newWidth = Math.max(200, Math.min(600, dragStartWidth.current + deltaX));
const newWidth = Math.max(
200,
Math.min(600, dragStartWidth.current + deltaX),
);
setWidth(newWidth);
},
[isDragging],