fixing lint warnings

This commit is contained in:
brunoedcf 2022-12-27 15:29:32 -03:00
parent a216474453
commit 94d2390b14
2 changed files with 0 additions and 17 deletions

View File

@ -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;

View File

@ -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<boolean>(false);
const offerValue = ref<number>();
const pixKeyBuyer = ref<string>("");
const walletConnect = async () => {
flowStep.value = Step.Sell;
};
// Verificar tipagem
const approveOffer = async ({ offer, pixKey }: any) => {
loading.value = true;