From 0dc7c45f324c246cc74c6ed55c006c67742c4139 Mon Sep 17 00:00:00 2001 From: Edijs Date: Thu, 7 Feb 2019 16:23:18 -0700 Subject: Code refactoring --- src/components/public_timeline/public_timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/public_timeline/public_timeline.js') diff --git a/src/components/public_timeline/public_timeline.js b/src/components/public_timeline/public_timeline.js index 9b866be8..64c951ac 100644 --- a/src/components/public_timeline/public_timeline.js +++ b/src/components/public_timeline/public_timeline.js @@ -7,7 +7,7 @@ const PublicTimeline = { timeline () { return this.$store.state.statuses.timelines.public } }, created () { - this.$store.dispatch('startFetching', 'public') + this.$store.dispatch('startFetching', { timeline: 'public' }) }, destroyed () { this.$store.dispatch('stopFetching', 'public') -- cgit v1.2.3-70-g09d2