Merge pull request #266 from h3poteto/fix/home-timeline/lazyFetch

fix: Insert error of timeline when lazy loading
This commit is contained in:
AkiraFukushima 2018-04-23 08:36:38 +09:00 committed by GitHub
commit 35b2f1ea52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ const Home = {
}) })
client.get('/timelines/home', { max_id: last.id, limit: 40 }, (err, data, res) => { client.get('/timelines/home', { max_id: last.id, limit: 40 }, (err, data, res) => {
if (err) return reject(err) if (err) return reject(err)
commit('insertTimeline') commit('insertTimeline', data)
commit('changeLazyLoading', false) commit('changeLazyLoading', false)
}) })
}) })