mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-12 02:05:51 +00:00
add condition to see if public key exists in node
This commit is contained in:
parent
3ddd8009f5
commit
b6caf16645
@ -147,9 +147,9 @@ class BecomeMinter extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
console.log({ mintingAccountData: this.mintingAccountData });
|
|
||||||
const findMintingAccount = this.mintingAccountData?.find(
|
const findMintingAccount = this.mintingAccountData?.find(
|
||||||
(ma) => !!ma.publicKey
|
(ma) => ma.publicKey === window.parent.reduxStore.getState().app?.selectedAddress
|
||||||
|
?.base58PublicKey
|
||||||
);
|
);
|
||||||
|
|
||||||
const isAlreadySponsored =
|
const isAlreadySponsored =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user