mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 08:09:51 +00:00
chore: generate
This commit is contained in:
parent
bc25efdf72
commit
d5c86b03ba
1 changed files with 1 additions and 2 deletions
|
|
@ -200,14 +200,13 @@ export function createPromptSubmit(input: PromptSubmitInput) {
|
|||
navigate(`/${base64Encode(sessionDirectory)}/session/${session.id}`)
|
||||
}
|
||||
}
|
||||
if (!session) {
|
||||
if (!session) {
|
||||
showToast({
|
||||
title: language.t("prompt.toast.promptSendFailed.title"),
|
||||
description: language.t("prompt.toast.promptSendFailed.description"),
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
input.onSubmit?.()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue