fix(linear): sync status when reconnecting saved installations

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-19 01:24:27 +08:00
1 parent 4f85b78c67
commit a3686d5eba
2 files changed
+21 -1

No files matched your search

@@ -184,12 +184,15 @@ export function ChannelQrConnectFlow({
...(force ? { force: true } : {}),
});
setConnect(payload);
if (payload.nanobot_features) {
onFeaturesUpdate(payload.nanobot_features);
}
} catch (err) {
setError((err as Error).message);
} finally {
setBusy(false);
}
}, [channelName, client, startParams]);
}, [channelName, client, startParams, onFeaturesUpdate]);
useEffect(() => {
const requested = Boolean(connectRequestId && connectRequestId !== handledRequestId.current);