chore: generate
parent
bc25efdf72
commit
d5c86b03ba
|
|
@ -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…
Reference in New Issue