Skip to content

Commit 6edb9a1

Browse files
authored
fix(textarea): empty string as fallback (#3463)
1 parent 7bef4f0 commit 6edb9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/prompts/PromptsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
10021002
})}
10031003
</div>
10041004
<VSCodeTextArea
1005-
value={customInstructions}
1005+
value={customInstructions || ""}
10061006
onChange={(e) => {
10071007
const value =
10081008
(e as unknown as CustomEvent)?.detail?.target?.value ||

0 commit comments

Comments
 (0)