mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(settings): typo bugged success toast
This commit is contained in:
@@ -343,7 +343,7 @@ const SettingsModal = ({ isOpen, closeModal }) => {
|
|||||||
|
|
||||||
if (!oldData.account?.author?.address.endsWith('.eth') && parsedJson.account?.author?.address.endsWith('.eth') && anonymousMode === true) {
|
if (!oldData.account?.author?.address.endsWith('.eth') && parsedJson.account?.author?.address.endsWith('.eth') && anonymousMode === true) {
|
||||||
setAnonymousMode(false);
|
setAnonymousMode(false);
|
||||||
localStorage.setitem('successToast', 'Account data saved successfully. ENS address detected, Anon mode disabled.');
|
localStorage.setItem('successToast', 'Account data saved successfully. ENS address detected, Anon mode disabled.');
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
} else {
|
} else {
|
||||||
setNewSuccessMessage('Account data saved successfully.');
|
setNewSuccessMessage('Account data saved successfully.');
|
||||||
|
|||||||
Reference in New Issue
Block a user