mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
fix: account verification notice duplicating
This commit is contained in:
parent
7ffb7ead0b
commit
210d1aed9c
1 changed files with 1 additions and 1 deletions
|
|
@ -1297,7 +1297,7 @@ export const page = new Page({
|
|||
|
||||
void update().then(() => {
|
||||
void updateChartColors();
|
||||
$(".pageAccount .content p.accountVerificatinNotice").remove();
|
||||
$(".pageAccount .content .accountVerificatinNotice").remove();
|
||||
if (Auth?.currentUser?.emailVerified === false) {
|
||||
$(".pageAccount .content").prepend(
|
||||
`<div class="accountVerificatinNotice"><i class="fas icon fa-exclamation-triangle"></i><p>Your email address is still not verified</p><button class="sendVerificationEmail">resend verification email</button></div>`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue