lint fixes

This commit is contained in:
Nolan Lawson 2018-02-11 14:11:03 -08:00
parent 64350ad912
commit 8dcf72d144
8 changed files with 16 additions and 20 deletions

View File

@ -67,7 +67,6 @@ export async function updateVerifyCredentialsForInstance (instanceName) {
)
}
export async function updateInstanceInfo (instanceName) {
await cacheFirstUpdateAfter(
() => getInstanceInfo(instanceName),

View File

@ -18,6 +18,4 @@ export async function updatePinnedStatusesForAccount(accountId) {
store.set({pinnedStatuses: $pinnedStatuses})
}
)
}

View File

@ -50,7 +50,7 @@ function handleStreamMessage (instanceName, timelineName, message) {
}
export function createStream (streamingApi, instanceName, accessToken, timelineName) {
new TimelineStream(streamingApi, accessToken, timelineName, {
return new TimelineStream(streamingApi, accessToken, timelineName, {
onMessage (msg) {
console.log('message', msg)
if (msg.event !== 'update' && msg.event !== 'delete') {

View File

@ -2,7 +2,6 @@ import { updateInstanceInfo } from '../_actions/instances'
import { createStream } from '../_actions/streaming'
export function timelineObservers (store) {
let currentTimelineStream
store.observe('currentTimeline', async (currentTimeline) => {