chore: disable spellcheck in renderer inputs

This commit is contained in:
Shantur Rathore
2025-10-30 00:22:08 +00:00
parent 41843de5e0
commit f95b61fc5d
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ function createWindow() {
preload: join(__dirname, "../preload/index.js"), preload: join(__dirname, "../preload/index.js"),
contextIsolation: true, contextIsolation: true,
nodeIntegration: false, nodeIntegration: false,
spellcheck: false,
}, },
}) })

View File

@@ -716,6 +716,7 @@ export default function PromptInput(props: PromptInputProps) {
disabled={props.disabled} disabled={props.disabled}
rows={1} rows={1}
style={attachments().length > 0 ? { "padding-top": "8px" } : {}} style={attachments().length > 0 ? { "padding-top": "8px" } : {}}
spellcheck={false}
/> />
</div> </div>