forked from LaconicNetwork/icns-frontend
Fix all chains bug
This commit is contained in:
parent
0eba7c4cf9
commit
0944e5c175
@ -136,6 +136,16 @@ export default function VerificationPage() {
|
|||||||
init();
|
init();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
setAllChains({
|
||||||
|
chainId: "all chains",
|
||||||
|
chainName: "all chains",
|
||||||
|
prefix: `all chains(${chainList.length})`,
|
||||||
|
address: chainList.map((chain) => chain.chainName).join(", "),
|
||||||
|
chainImageUrl: AllChainsIcon,
|
||||||
|
});
|
||||||
|
}, [chainList]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const disabledChainList = chainList.filter((chain) => {
|
const disabledChainList = chainList.filter((chain) => {
|
||||||
for (const registeredChain of registeredChainList) {
|
for (const registeredChain of registeredChainList) {
|
||||||
|
Loading…
Reference in New Issue
Block a user