Fix tokenize

This commit is contained in:
Sakura Knoll
2023-07-11 04:10:34 +09:00 Unverified
parent 967363e48a
commit 56e49a6c55
5 changed files with 47 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ interface FormattedTextProps {
const FormattedText = ({ children }: FormattedTextProps) => {
if (children == null) {
children = ''
return <></>
}
const tokens = tokenize(children)