Temporary solution: renderToStaticMarkup

This commit is contained in:
Zhongheng Liu 2023-12-21 19:07:06 +02:00
commit 6fc628aee3
No known key found for this signature in database
6 changed files with 118 additions and 58 deletions

View file

@ -9,5 +9,5 @@ export const Message = (
}
): React.ReactElement<{ sender: string; text: string; }> => {
return (<p>Message from {sender} @ {}: {text}</p>);
return (<p>Message from {sender}: {text}</p>);
};