mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
chore: generate
This commit is contained in:
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…
x
Reference in New Issue
Block a user