fix: pass type to getNetworksByType
This commit is contained in:
parent
7a3d1f81b5
commit
2c9bda7301
|
@ -18,7 +18,7 @@
|
||||||
const types = await networkClient.getTypes();
|
const types = await networkClient.getTypes();
|
||||||
|
|
||||||
for (const type of types) {
|
for (const type of types) {
|
||||||
types[type] = await networkClient.getNetworksByType();
|
types[type] = await networkClient.getNetworksByType(type);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Reference in New Issue