aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-04-30 08:20:19 -0400
committertaehoon <th.dev91@gmail.com>2019-05-15 12:04:26 -0400
commit110c9d3b26e3871c8fc8157458be201ed4316d49 (patch)
tree015983caadbf9ca650ae172bb5fd6c85734becef /src/components/user_profile/user_profile.js
parent87de130ee56fdd448934c8f442342302982ec579 (diff)
improve performance by caching pinned status ids into user object
Diffstat (limited to 'src/components/user_profile/user_profile.js')
-rw-r--r--src/components/user_profile/user_profile.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js
index 176ec228..8d660780 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -42,9 +42,6 @@ const UserProfile = {
timeline () {
return this.$store.state.statuses.timelines.user
},
- pinnedStatuses () {
- return filter(this.timeline.statuses, { pinned: true })
- },
favorites () {
return this.$store.state.statuses.timelines.favorites
},