1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

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,
rel: 'nofollow noopener',
navigationBehavior: props.linkNavigationBehavior,
}, genEl(token.children, scale, true)))];
}, () => genEl(token.children, scale, true)))];
}
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)}`,
style: 'color:var(--MI_THEME-hashtag);',
behavior: props.linkNavigationBehavior,
}, `#${token.props.hashtag}`))];
}, () => `#${token.props.hashtag}`))];
}
case 'blockCode': {