fix(desktop): import clearClarifyRequest from the clarify store

Follow-up to the stale-approval fix: clearClarifyRequest lives in
@/store/clarify, not @/store/prompts — the wrong-module import slipped
through because the prompts barrel happens to export similarly named
clears. Caught by the vitest run of the new specs.
This commit is contained in:
Brooklyn Nicholson
2026-09-24 18:54:18 -05:00
committed by brooklyn!
parent fa655b2980
commit 2326900129
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,8 @@ import {
type PetChangeMeta,
setChangeEventsAvailable
} from '@/store/live-sync'
import { clearAllPrompts, clearClarifyRequest } from '@/store/prompts'
import { clearClarifyRequest } from '@/store/clarify'
import { clearAllPrompts } from '@/store/prompts'
import { markRuntimeGone } from '@/store/runtime-gone'
import { dropSessionState, unbindTileRuntime } from '@/store/session-states'
// Leaf import (not the `@/themes` barrel) to avoid pulling the ThemeProvider

View File

@@ -4,7 +4,8 @@ import { reconcileApprovalModeForProfile } from '@/store/approval-mode'
import { reconcileSessionCompacting } from '@/store/compaction'
import { requestDesktopOnboardingForCredentialWarning } from '@/store/onboarding'
import { followActiveSessionCwd } from '@/store/projects'
import { clearAllPrompts, clearClarifyRequest } from '@/store/prompts'
import { clearClarifyRequest } from '@/store/clarify'
import { clearAllPrompts } from '@/store/prompts'
import {
$activeSessionId,
$currentCwd,