summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/app/src/components/prompt-input.tsx24
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index d72f20b27..074a03582 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -900,7 +900,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
.abort({
sessionID,
})
- .catch(() => { })
+ .catch(() => {})
}
const addToHistory = (prompt: Prompt, mode: "normal" | "shell") => {
@@ -1324,18 +1324,18 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
const contextParts: Array<
| {
- id: string
- type: "text"
- text: string
- synthetic?: boolean
- }
+ id: string
+ type: "text"
+ text: string
+ synthetic?: boolean
+ }
| {
- id: string
- type: "file"
- mime: string
- url: string
- filename?: string
- }
+ id: string
+ type: "file"
+ mime: string
+ url: string
+ filename?: string
+ }
> = []
const commentNote = (path: string, selection: FileSelection | undefined, comment: string) => {