Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/renderer/src/hooks/useSessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export function useSessions() {

// Check for new PR when Claude finishes a turn (non-blocking)
// Re-fetch if no PR or if the known PR is merged (branch may have a new PR)
if (state === 'ready') {
if (state === 'waiting') {
const session = sessionsRef.current.find((s) => s.claudeSessionId === claudeSessionId)
if (session && (!session.pr || session.pr.state === 'merged')) {
api.getCurrentBranch(session.cwd).then((branch) => {
Expand Down
Loading