From af1959aaca3ffad2efb96de562affa37154b3519 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 18 Jun 2023 01:18:47 -0700 Subject: [PATCH] Use child as value in normal textarea --- components/party/EditPartyModal/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/party/EditPartyModal/index.tsx b/components/party/EditPartyModal/index.tsx index e719537a..fb0c9eb6 100644 --- a/components/party/EditPartyModal/index.tsx +++ b/components/party/EditPartyModal/index.tsx @@ -270,10 +270,11 @@ const EditPartyModal = ({ party, updateCallback, ...props }: Props) => { placeholder={ 'Write your notes here\n\n\nWatch out for the 50% trigger!\nMake sure to click Fediel’s 3 first\nGood luck with RNG!' } - value={party?.description} onChange={handleTextAreaChanged} ref={descriptionInput} - /> + > + {party ? party.description : ''} + ) }