🍣 small bug fix

This commit is contained in:
Shiba 2022-07-01 11:16:39 +03:00 committed by GitHub
parent 63a251c0ae
commit 1a7ddb7ea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,11 +68,15 @@ function WatchOnLbryPopup(params: { profile: Awaited<ReturnType<typeof getProfil
<a onClick={() => loads(generateProfileAndSetNickname(dialogManager)).then(() => renderPopup())} className={`button active`}> <a onClick={() => loads(generateProfileAndSetNickname(dialogManager)).then(() => renderPopup())} className={`button active`}>
Change Nickname Change Nickname
</a> </a>
<a onClick={async () => <a onClick={async () => {
await dialogManager.confirm("This will delete your keypair from this device.\nStill wanna continue?\n\nNOTE: Without keypair you can't purge your data online.\nSo if you wish to purge, please use purging instead.") if (!await dialogManager.confirm("This will delete your keypair from this device."
&& resetProfileSettings() + "\nStill wanna continue?"
&& renderPopup() + "\n\nNOTE: Without keypair you can't purge your data online."
} + "\nSo if you wish to purge, please use purging instead.")) return
resetProfileSettings()
renderPopup()
}}
className={`button`} className={`button`}
> >
Forget/Logout Forget/Logout