Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Oct 16, 2023
1 parent 491a832 commit 148beb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkFollowButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const props = withDefaults(defineProps<{
});
const emit = defineEmits<{
(e: 'update:user', value: Misskey.entities.UserDetailed): void
(_: 'update:user', value: Misskey.entities.UserDetailed): void
}>();
let isFollowing = $ref(props.user.isFollowing);
Expand Down Expand Up @@ -105,7 +105,7 @@ async function onClick() {
emit('update:user', {
...props.user,
withReplies: defaultStore.state.defaultWithReplies
})
});
hasPendingFollowRequestFromYou = true;
claimAchievement('following1');
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkUserPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</div>
<button class="_button" :class="$style.menu" @click="showMenu"><i class="ti ti-dots"></i></button>
<MkFollowButton v-if="$i && user.id != $i.id" :class="$style.follow" v-model:user="user" mini/>
<MkFollowButton v-if="$i && user.id != $i.id" v-model:user="user" :class="$style.follow" mini/>
</div>
<div v-else>
<MkLoading/>
Expand Down

0 comments on commit 148beb6

Please sign in to comment.