Commit 4a14ae4
authored
fix(account-settings): prevent unauthorized error on ape keys after logout (@hussain-alsayedali) (monkeytypegame#6746)
### Description
The getData function will check if the user is authenticated before
being called, as the issue seems with updateUI function begin called
some times when the user logs out
monkeytype\frontend\src\ts\pages\account-settings.ts
Tried to replicate the issue but it only happens once every while, don't
know why it don't happen everytime.
Issue :
monkeytypegame#67421 parent fc438ec commit 4a14ae4
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
0 commit comments