ref(explorer): update hook to use useMutation#113146
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6ed04c8. Configure here.
| onChange={onInputChange} | ||
| onKeyDown={onKeyDown} | ||
| onClick={onInputClick} | ||
| placeholder={getPlaceholder()} |
There was a problem hiding this comment.
Stale interrupted prop on styled component now unused
Low Severity
StyledInputGroup still declares an interrupted prop in its type (<{interrupted?: boolean}>) and uses it to conditionally style placeholder text color (p.interrupted ? p.theme.tokens.content.warning : undefined), but this prop is no longer passed from any call site after removing wasJustInterrupted. This is dead styling logic that will never activate.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 6ed04c8. Configure here.




Refactor useSeerExplorer to use
useMutationfor the 4 POST requests it can make. The previous style ofapi.requestPromiseis deprecated and complicates on-success/error handling, while this is built into useMutation.Temporarily removes the
wasInterruptedstate which showed a placeholder msg after interrupt requests. This state is hard to manage correctly and a low prio feature, especially since the current system for interrupts often fails. We can bring it back after reworking interrupts on the backend