Skip to content

Commit

Permalink
Merge branch 'develop' into refactor/improved-update-convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix authored Jun 20, 2024
2 parents ea10638 + b683d79 commit 2969a67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function fetchAccount(token: string, id?: string, forceShowDialog?: boolean): Pr
res.json().then(done2, fail2);
}))
.then(async res => {
if (res.error) {
if ('error' in res) {
if (res.error.id === 'a8c724b3-6e9c-4b46-b1a8-bc3ed6258370') {
// SUSPENDED
if (forceShowDialog || $i && (token === $i.token || id === $i.id)) {
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
],
"lib": [
"esnext",
"dom"
"dom",
"dom.iterable"
],
"jsx": "preserve"
},
Expand Down

0 comments on commit 2969a67

Please sign in to comment.