fix vue warning about render functions

This commit is contained in:
Hazelnoot 2025-04-02 22:16:39 -04:00
parent 36ba07ae9b
commit 676c78c71e

View file

@ -425,7 +425,7 @@ export default function MkMfm(props: MfmProps, { emit }: { emit: SetupContext<Mf
url: token.props.url, url: token.props.url,
rel: 'nofollow noopener', rel: 'nofollow noopener',
navigationBehavior: props.linkNavigationBehavior, navigationBehavior: props.linkNavigationBehavior,
}, genEl(token.children, scale, true)))]; }, () => genEl(token.children, scale, true)))];
} }
case 'mention': { case 'mention': {
@ -443,7 +443,7 @@ export default function MkMfm(props: MfmProps, { emit }: { emit: SetupContext<Mf
to: isNote ? `/tags/${encodeURIComponent(token.props.hashtag)}` : `/user-tags/${encodeURIComponent(token.props.hashtag)}`, to: isNote ? `/tags/${encodeURIComponent(token.props.hashtag)}` : `/user-tags/${encodeURIComponent(token.props.hashtag)}`,
style: 'color:var(--MI_THEME-hashtag);', style: 'color:var(--MI_THEME-hashtag);',
behavior: props.linkNavigationBehavior, behavior: props.linkNavigationBehavior,
}, `#${token.props.hashtag}`))]; }, () => `#${token.props.hashtag}`))];
} }
case 'blockCode': { case 'blockCode': {