mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 00:06:16 +08:00
updated offline banner
This commit is contained in:
parent
0cb797a2ff
commit
368f8f1f39
|
@ -17,11 +17,11 @@ try {
|
|||
console.error(e);
|
||||
const error = e as Error;
|
||||
Notifications.addBanner(
|
||||
"Offline mode: " +
|
||||
(window.location.hostname === "localhost" ? error.message : ""),
|
||||
"Offline mode" +
|
||||
(window.location.hostname === "localhost" ? ":" + error.message : ""),
|
||||
0,
|
||||
undefined,
|
||||
true
|
||||
false
|
||||
);
|
||||
// $("body").text(
|
||||
// "Failed to initialize Firebase. Are you sure you have the correct config in the firebase-config.ts file?"
|
||||
|
|
Loading…
Reference in a new issue