Skip to content

Commit

Permalink
fix: treat textAreaRef as a RefObject<HTMLTextAreaElement>
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Jan 17, 2025
1 parent d4023df commit f9b683f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flagd-ui/src/components/advanced/AdvancedView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function AdvancedView() {
<div>
<FileEditor
flagConfig={flagData}
textAreaRef={textAreaRef}
textAreaRef={textAreaRef as React.RefObject<HTMLTextAreaElement>}
handleTextAreaChange={handleTextAreaChange}
/>
<div className="p-2 pl-8 text-gray-300 shadow-md">
Expand Down

0 comments on commit f9b683f

Please sign in to comment.