mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-10 17:34:24 +08:00
added error
This commit is contained in:
parent
e2d409f1d3
commit
75305c51e2
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ try {
|
|||
Auth = getAuth(app);
|
||||
Analytics = getAnalytics(app);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
$("body").text(
|
||||
"Failed to initialize Firebase. Are you sure you have the correct config in the firebase-config.ts file?"
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue