aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjasper <jasper92341@hotmail.com>2019-02-18 12:32:08 -0800
committerjasper <jasper92341@hotmail.com>2019-02-18 12:32:08 -0800
commitd4a2376e12cd9a05e29bf8eb55d7388598ed1137 (patch)
tree36829fe45b41bf5f2dda070328912428a70c0650 /src
parent10990e17159a8b2cb3d6290b654f9c3f2a63c34e (diff)
fix/fetch-error-when-login
Diffstat (limited to 'src')
-rw-r--r--src/components/timeline/timeline.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 85e0a055..40b42d50 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -47,20 +47,7 @@ const Timeline = {
UserCard
},
created () {
- const store = this.$store
- const credentials = store.state.users.currentUser.credentials
- const showImmediately = this.timeline.visibleStatuses.length === 0
-
window.addEventListener('scroll', this.scrollLoad)
-
- timelineFetcher.fetchAndUpdate({
- store,
- credentials,
- timeline: this.timelineName,
- showImmediately,
- userId: this.userId,
- tag: this.tag
- })
},
mounted () {
if (typeof document.hidden !== 'undefined') {