Lints some errors and warnings (#76)
This commit is contained in:
parent
2fce1637b4
commit
06e41167d0
22 changed files with 62 additions and 38 deletions
|
@ -426,7 +426,7 @@ export class FeedModel {
|
|||
}
|
||||
this._xLoading()
|
||||
let numToFetch = this.feed.length
|
||||
let cursor = undefined
|
||||
let cursor
|
||||
try {
|
||||
do {
|
||||
const res: GetTimeline.Response = await this._getFeed({
|
||||
|
|
|
@ -366,7 +366,7 @@ export class NotificationsViewModel {
|
|||
}
|
||||
this._xLoading()
|
||||
let numToFetch = this.notifications.length
|
||||
let cursor = undefined
|
||||
let cursor
|
||||
try {
|
||||
do {
|
||||
const res: ListNotifications.Response =
|
||||
|
|
|
@ -50,7 +50,9 @@ export class OnboardModel {
|
|||
}
|
||||
|
||||
next() {
|
||||
if (!this.isOnboarding) return
|
||||
if (!this.isOnboarding) {
|
||||
return
|
||||
}
|
||||
let i = OnboardStageOrder.indexOf(this.stage)
|
||||
i++
|
||||
if (i >= OnboardStageOrder.length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue