diff --git a/src/pages/popup/main.tsx b/src/pages/popup/main.tsx index 1b9e319..ad55ac7 100644 --- a/src/pages/popup/main.tsx +++ b/src/pages/popup/main.tsx @@ -68,11 +68,15 @@ function WatchOnLbryPopup(params: { profile: Awaited loads(generateProfileAndSetNickname(dialogManager)).then(() => renderPopup())} className={`button active`}> Change Nickname - - 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.") - && resetProfileSettings() - && renderPopup() - } + { + if (!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.")) return + resetProfileSettings() + renderPopup() + + }} className={`button`} > Forget/Logout