mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
fixed name being undefined
This commit is contained in:
parent
6ec7ea60f3
commit
50f2161c43
2 changed files with 5 additions and 3 deletions
|
|
@ -309,9 +309,11 @@ firebase.auth().onAuthStateChanged(function (user) {
|
|||
$(".pageLogin .preloader").addClass("hidden");
|
||||
$("#menu .icon-button.account .text").text(displayName);
|
||||
|
||||
try {
|
||||
// try {
|
||||
if (Tribe.state >= 1) {
|
||||
Tribe.setName(displayName);
|
||||
} catch {}
|
||||
}
|
||||
// } catch {}
|
||||
|
||||
// showFavouriteThemesAtTheTop();
|
||||
CommandlineLists.updateThemeCommands();
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export let pageTransition = false;
|
|||
export let expectedVersion = "0.9.8";
|
||||
|
||||
export let room = undefined;
|
||||
let name = undefined;
|
||||
export let name = undefined;
|
||||
let autoJoin = undefined;
|
||||
|
||||
export function setAutoJoin(code) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue