Force the bundler to build the player as its own file

This commit is contained in:
Gabe Kangas
2022-10-28 12:19:39 -07:00
parent 91edad5024
commit 2e7787f70b
2 changed files with 9 additions and 1 deletions
@@ -63,6 +63,8 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
);
}
// TODO: Find a solution to get rid of or replace "he" library since
// it's overly large for only use in this one place.
useEffect(() => {
setFormattedMessage(he.decode(body));
}, [message]);