diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 7a590865..06435745 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -8,7 +8,6 @@ const Timeline = { 'timeline', 'timelineName', 'title', - 'showingStatuses', 'userId' ], computed: { @@ -66,12 +65,12 @@ const Timeline = { userId: this.userId }).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false })) }, - fetchFollowers() { + fetchFollowers () { const id = this.userId this.$store.state.api.backendInteractor.fetchFollowers({ id }) .then((followers) => this.$store.dispatch('addFollowers', { followers })) }, - fetchFriends() { + fetchFriends () { const id = this.userId this.$store.state.api.backendInteractor.fetchFriends({ id }) .then((friends) => this.$store.dispatch('addFriends', { friends })) diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 1ce6e5f2..5f9d4d08 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -20,11 +20,11 @@ const UserProfile = { } else { return false } - }, + } }, components: { UserCardContent, - Timeline, + Timeline } }