mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 04:38:31 +00:00
chore: generate
This commit is contained in:
parent
1a08ee77c7
commit
50c9d5221f
1 changed files with 3 additions and 1 deletions
|
|
@ -283,7 +283,9 @@ export const { use: usePrompt, provider: PromptProvider } = createSimpleContext(
|
|||
return entry.value
|
||||
}
|
||||
|
||||
const session = createMemo(() => load(search.draftId ? { draftID: search.draftId } : { dir: params.dir!, id: params.id }))
|
||||
const session = createMemo(() =>
|
||||
load(search.draftId ? { draftID: search.draftId } : { dir: params.dir!, id: params.id }),
|
||||
)
|
||||
const pick = (scope?: Scope) => (scope ? load(scope) : session())
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue