feat: add message request loader

This commit is contained in:
steven
2023-03-27 15:01:48 +08:00
parent e4a77559db
commit c15f572d40
8 changed files with 152 additions and 34 deletions

View File

@ -56,6 +56,7 @@ const MessageTextarea = (props: Props) => {
creatorRole: CreatorRole.User,
createdAt: Date.now(),
content: value,
isGenerated: true,
});
setValue("");
textareaRef.current!.value = "";