Skip to content

Commit 2969a67

Browse files
authored
Merge branch 'develop' into refactor/improved-update-convenience
2 parents ea10638 + b683d79 commit 2969a67

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/frontend/src/account.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function fetchAccount(token: string, id?: string, forceShowDialog?: boolean): Pr
120120
res.json().then(done2, fail2);
121121
}))
122122
.then(async res => {
123-
if (res.error) {
123+
if ('error' in res) {
124124
if (res.error.id === 'a8c724b3-6e9c-4b46-b1a8-bc3ed6258370') {
125125
// SUSPENDED
126126
if (forceShowDialog || $i && (token === $i.token || id === $i.id)) {

packages/frontend/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
],
3838
"lib": [
3939
"esnext",
40-
"dom"
40+
"dom",
41+
"dom.iterable"
4142
],
4243
"jsx": "preserve"
4344
},

0 commit comments

Comments
 (0)