Skip to content

Commit

Permalink
fix cache for textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
juandjara committed Dec 21, 2023
1 parent e0b492e commit 294b1c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function MarkdownEditor({ name, initialValue = '', onChange }: Ma
<textarea
ref={textareaRef}
name={name}
defaultValue={initialValue}
value={initialValue}
className={`font-mono whitespace-pre-line ${inputCN}`}
readOnly
title="file contents"
Expand Down

0 comments on commit 294b1c0

Please sign in to comment.