lint fixes

This commit is contained in:
ssmucny 2023-06-17 17:38:26 -04:00
parent 5b9c73334c
commit 20f1a39781
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
ref="notes"
v-slot="{ item: note }"
:items="notes"
:get-date="getDate"
:getDate="getDate"
:direction="pagination.reversed ? 'up' : 'down'"
:reversed="pagination.reversed"
:noGap="noGap"

View File

@ -256,7 +256,7 @@ export default function(props: {
case 'mention': {
return [h(MkMention, {
key: Math.random(),
host: (token.props.host == null && props.author && props.author.host != null ? props.author.host : token.props.host) || host,
host: (token.props.host == null && props.author && props.author.host != null ? props.author.host : token.props.host) ?? host,
username: token.props.username,
})];
}