Remove alchemy file and add localhost network to possible network to choose
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
This commit is contained in:
@@ -52,6 +52,7 @@ const getNetworkImage = (networkName: NetworkEnum) => {
|
||||
let validImages = {
|
||||
Ethereum: ethereumImage,
|
||||
Polygon: polygonImage,
|
||||
Localhost: ethereumImage
|
||||
};
|
||||
|
||||
return validImages[networkName];
|
||||
@@ -159,7 +160,23 @@ const getNetworkImage = (networkName: NetworkEnum) => {
|
||||
<span class="text-gray-900 py-4 text-end font-semibold text-sm">
|
||||
Polygon
|
||||
</span>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="w-full flex justify-center">
|
||||
<hr class="w-4/5" />
|
||||
</div>
|
||||
<div
|
||||
class="menu-button gap-2 px-4 rounded-md cursor-pointer"
|
||||
@click="etherStore.setNetworkName(NetworkEnum.localhost)"
|
||||
>
|
||||
<img
|
||||
alt="Localhost"
|
||||
width="20"
|
||||
height="20"
|
||||
src="@/assets/ethereum.svg"
|
||||
/>
|
||||
<span class="text-gray-900 py-4 text-end font-semibold text-sm">
|
||||
Localhost
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user