mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-08 16:34:45 +08:00
fix(profile): remove previous error message on page load (@fehmer) (#6731)
fixes #6729
This commit is contained in:
parent
0b8ee9c8ec
commit
c6dcfa1cb7
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import { UserProfile } from "@monkeytype/contracts/schemas/users";
|
|||
import { PersonalBests } from "@monkeytype/contracts/schemas/shared";
|
||||
|
||||
function reset(): void {
|
||||
$(".page.pageProfile .error").addClass("hidden");
|
||||
$(".page.pageProfile .preloader").removeClass("hidden");
|
||||
$(".page.pageProfile .profile").html(`
|
||||
<div class="details none">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue