aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-07 22:42:34 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 14:05:25 +0300
commit8d46fd78c7ada7600afe7b74932a6f2380964592 (patch)
treea8d43b426e466f9dec8c69a0d9d983bf21999778 /src/components/user_profile
parent95e74319e11e673ce0a6a53546eae98a0b9c3eb5 (diff)
migrate to v-slot
Diffstat (limited to 'src/components/user_profile')
-rw-r--r--src/components/user_profile/user_profile.vue10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 745e795d..aef897ae 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -60,10 +60,7 @@
:disabled="!user.friends_count"
>
<FriendList :user-id="userId">
- <template
- slot="item"
- slot-scope="{item}"
- >
+ <template v-slot:item="{item}">
<FollowCard :user="item" />
</template>
</FriendList>
@@ -75,10 +72,7 @@
:disabled="!user.followers_count"
>
<FollowerList :user-id="userId">
- <template
- slot="item"
- slot-scope="{item}"
- >
+ <template v-slot:item="{item}">
<FollowCard
:user="item"
:no-follows-you="isUs"