Skip to content

fix(web): give the desktop-in-use thread query its fetcher - #420

Merged
davemooreuws merged 1 commit into
mainfrom
desktop-thread-query
Oct 15, 2026
Merged

davemooreuws merged 1 commit into
mainfrom
desktop-thread-query

Conversation

@davemooreuws

Copy link
Copy Markdown
Member

useDesktopInUse subscribed to ["thread", id] without a queryFn, so React Query logged "No queryFn was passed as an option" on every render (13 times in the chat summary tests alone). It now takes the thread's own query options and stays disabled, so it still never fetches. The cached query also no longer loses its fetcher when this observer happens to render last.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sugabots-website 77023e1 Oct 15 2026, 07:25 AM

@davemooreuws
davemooreuws merged commit 27b2a79 into main Oct 15, 2026
7 checks passed
@davemooreuws
davemooreuws deleted the desktop-thread-query branch October 15, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant