mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
updated message
This commit is contained in:
parent
2920722315
commit
02b2ae0cde
1 changed files with 3 additions and 3 deletions
|
|
@ -14,11 +14,11 @@ try {
|
|||
} catch (e) {
|
||||
app = undefined;
|
||||
Auth = undefined;
|
||||
console.error(e);
|
||||
console.error("Authentication failed to initialize", e);
|
||||
const error = e as Error;
|
||||
Notifications.addBanner(
|
||||
"Offline mode" +
|
||||
(window.location.hostname === "localhost" ? ":" + error.message : ""),
|
||||
"Authentication failed to initialize" +
|
||||
(window.location.hostname === "localhost" ? ": " + error.message : ""),
|
||||
0,
|
||||
undefined,
|
||||
false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue