fix(textarea): empty string as fallback (#3463)

This commit is contained in:
Dicha Zelianivan Arkana 2025-05-11 18:29:24 +07:00 committed by hannesrudolph
parent de9094192e
commit 028d81ea04

View file

@ -1002,7 +1002,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
})}
</div>
<VSCodeTextArea
value={customInstructions}
value={customInstructions || ""}
onChange={(e) => {
const value =
(e as unknown as CustomEvent)?.detail?.target?.value ||