Use child as value in normal textarea

This commit is contained in:
Justin Edmund 2023-06-18 01:18:47 -07:00
parent 6dae7d9f28
commit af1959aaca

View file

@ -270,10 +270,11 @@ const EditPartyModal = ({ party, updateCallback, ...props }: Props) => {
placeholder={ placeholder={
'Write your notes here\n\n\nWatch out for the 50% trigger!\nMake sure to click Fediels 3 first\nGood luck with RNG!' 'Write your notes here\n\n\nWatch out for the 50% trigger!\nMake sure to click Fediels 3 first\nGood luck with RNG!'
} }
value={party?.description}
onChange={handleTextAreaChanged} onChange={handleTextAreaChanged}
ref={descriptionInput} ref={descriptionInput}
/> >
{party ? party.description : ''}
</textarea>
</div> </div>
) )
} }