Skip to content
Snippets Groups Projects
Commit 721cbe08 authored by syuilo's avatar syuilo
Browse files

fix(frontend): fix of 30efd932

parent 93d3501c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment