Skip to content

Commit

Permalink
fixup code style
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Apr 19, 2018
1 parent bf17c69 commit 98caf46
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions routes/_actions/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ export async function setupTimeline () {
// (i.e. via offline mode), then we need to re-fetch
// Also do this if it's a thread, because threads change pretty frequently and
// we don't have a good way to update them.

let { timelineItemIds } = store.get()
let { timelineItemIdsAreStale } = store.get()
let { currentTimeline } = store.get()
let {
timelineItemIds,
timelineItemIdsAreStale,
currentTimeline
} = store.get()
if (!timelineItemIds ||
timelineItemIdsAreStale ||
currentTimeline.startsWith('status/')) {
Expand Down

0 comments on commit 98caf46

Please sign in to comment.