Improve Listing Component and import with alias in other components

This commit is contained in:
RcleydsonR
2023-01-24 22:25:38 -03:00
parent 6b8bbc9e6a
commit 4b08b6df4b
7 changed files with 21 additions and 16 deletions

View File

@@ -1,11 +1,11 @@
<script setup lang="ts">
import { storeToRefs } from "pinia";
import { useEtherStore } from "../../store/ether";
import { useEtherStore } from "@/store/ether";
import { ref } from "vue";
import { NetworkEnum } from "@/model/NetworkEnum";
import { connectProvider, requestNetworkChange } from "../blockchain/provider";
import ethereumImage from "../assets/ethereum.svg";
import polygonImage from "../assets/polygon.svg";
import { connectProvider, requestNetworkChange } from "@/blockchain/provider";
import ethereumImage from "@/assets/ethereum.svg";
import polygonImage from "@/assets/polygon.svg";
// Store reference
const etherStore = useEtherStore();