Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Merge pull request #769 from Fei2411/fix/692-sidebar-drag

Fei2411aa84e3786b89
diff --cc ds-bot/client.js
index 8dfa4aeb,803d7ef1..e9620f79
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@@ -9608,9 -9570,11 +9613,11 @@@ function TeamSidebar(props)
if (typeof document === "undefined") return;
chatRoom.setLeft(Math.max(0, pushed - (frameSnap.collapsedWidth ?? 0)));
}, [pushed, frameSnap.collapsedWidth]);
- (0, import_react18.useEffect)(() => () => {
+ (0, import_react19.useEffect)(() => () => {
if (typeof document !== "undefined") chatRoom.setLeft(null);
}, []);
+ const settleTimer = (0, import_react18.useRef)(0);
+ const springTimer = (0, import_react18.useRef)(0);
const startDrag = (event) => {
if (event.button !== 0) return;
event.preventDefault();