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:
committed by
brooklyn!
parent
fa655b2980
commit
2326900129
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user