From 94d2390b149596c7f4a2f5450cb901df6735220c Mon Sep 17 00:00:00 2001 From: brunoedcf Date: Tue, 27 Dec 2022 15:29:32 -0300 Subject: [PATCH] fixing lint warnings --- src/components/SellerSteps/SellerSearchComponent.vue | 11 ----------- src/views/SellerView.vue | 6 ------ 2 files changed, 17 deletions(-) diff --git a/src/components/SellerSteps/SellerSearchComponent.vue b/src/components/SellerSteps/SellerSearchComponent.vue index ebd0ef7..f1dc96e 100644 --- a/src/components/SellerSteps/SellerSearchComponent.vue +++ b/src/components/SellerSteps/SellerSearchComponent.vue @@ -2,27 +2,16 @@ import { ref } from "vue"; import CustomButton from "../../components/CustomButton.vue"; import { debounce } from "@/utils/debounce"; -import { useEtherStore } from "@/store/ether"; -import { storeToRefs } from "pinia"; - -// Store reference -const etherStore = useEtherStore(); - -const { walletAddress, depositsAddedList } = storeToRefs(etherStore); // Reactive state const tokenValue = ref(0); const enableSelectButton = ref(false); const hasLiquidity = ref(true); const validDecimals = ref(true); -const selectedDeposit = ref(); // Emits const emit = defineEmits(["tokenBuy"]); -// Blockchain methods -const connectAccount = async () => {}; - // Debounce methods const handleInputEvent = (event: any) => { const { value } = event.target; diff --git a/src/views/SellerView.vue b/src/views/SellerView.vue index beb49f6..3f6d5d7 100644 --- a/src/views/SellerView.vue +++ b/src/views/SellerView.vue @@ -5,8 +5,6 @@ import ValidationComponent from "../components/LoadingComponent.vue"; import blockchain from "../utils/blockchain"; import { ref } from "vue"; -import router from "@/router"; -import { pix } from "@/utils/QrCodePix"; enum Step { Search, @@ -20,10 +18,6 @@ const loading = ref(false); const offerValue = ref(); const pixKeyBuyer = ref(""); -const walletConnect = async () => { - flowStep.value = Step.Sell; -}; - // Verificar tipagem const approveOffer = async ({ offer, pixKey }: any) => { loading.value = true;