Skip to content

Commit

Permalink
message body updated after edit
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmosMil committed Jun 30, 2023
1 parent 0cd88e7 commit b517a68
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const Message = ({ message }: { message: any }) => {
<button
onClick={() => {
setEditToggle(!editToggle);
setNewMsg(message.attributes.body);
}}
>
Edit
Expand Down

0 comments on commit b517a68

Please sign in to comment.