diff --git a/packages/client/src/components/MkChannelFollowButton.vue b/packages/client/src/components/MkChannelFollowButton.vue index 46d57b4fc..9e275d617 100644 --- a/packages/client/src/components/MkChannelFollowButton.vue +++ b/packages/client/src/components/MkChannelFollowButton.vue @@ -1,5 +1,6 @@ @@ -39,12 +40,12 @@ async function onClick() { try { if (isFollowing.value) { await os.api('channels/unfollow', { - channelId: props.channel.id + channelId: props.channel.id, }); isFollowing.value = false; } else { await os.api('channels/follow', { - channelId: props.channel.id + channelId: props.channel.id, }); isFollowing.value = true; } diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index 8a46e9cdd..e40b5d655 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -10,7 +10,7 @@ - +
diff --git a/packages/client/src/components/MkFollowButton.vue b/packages/client/src/components/MkFollowButton.vue index 1099893b0..433386f44 100644 --- a/packages/client/src/components/MkFollowButton.vue +++ b/packages/client/src/components/MkFollowButton.vue @@ -1,5 +1,6 @@ - @@ -50,9 +52,9 @@ const connection = stream.useChannel('main'); if (props.user.isFollowing == null) { os.api('users/show', { - userId: props.user.id + userId: props.user.id, }) - .then(onFollowChange); + .then(onFollowChange); } function onFollowChange(user: Misskey.entities.UserDetailed) { @@ -75,17 +77,17 @@ async function onClick() { if (canceled) return; await os.api('following/delete', { - userId: props.user.id + userId: props.user.id, }); } else { if (hasPendingFollowRequestFromYou) { await os.api('following/requests/cancel', { - userId: props.user.id + userId: props.user.id, }); hasPendingFollowRequestFromYou = false; } else { await os.api('following/create', { - userId: props.user.id + userId: props.user.id, }); hasPendingFollowRequestFromYou = true; } diff --git a/packages/client/src/components/MkSignup.vue b/packages/client/src/components/MkSignup.vue index e6281b1f8..67d3bb5c7 100644 --- a/packages/client/src/components/MkSignup.vue +++ b/packages/client/src/components/MkSignup.vue @@ -9,7 +9,7 @@