chore: generate
This commit is contained in:
@@ -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?.()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user