Lints some errors and warnings (#76)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user