diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-30 08:20:19 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-05-15 12:04:26 -0400 |
| commit | 110c9d3b26e3871c8fc8157458be201ed4316d49 (patch) | |
| tree | 015983caadbf9ca650ae172bb5fd6c85734becef /src/components/user_profile/user_profile.js | |
| parent | 87de130ee56fdd448934c8f442342302982ec579 (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.js | 3 |
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 }, |
