mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-28 06:48:21 +09:00
fix(frontend): fix of 30efd932a5
This commit is contained in:
parent
93d3501c90
commit
721cbe085b
@ -60,7 +60,7 @@ export default function(props: {
|
||||
switch (token.type) {
|
||||
case 'text': {
|
||||
let text = token.props.text.replace(/(\r\n|\n|\r)/g, '\n');
|
||||
if (!disableNyaize && props.author.isCat) {
|
||||
if (!disableNyaize && props.author?.isCat) {
|
||||
text = nyaize(text);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user