fixing lint warnings
This commit is contained in:
parent
a216474453
commit
94d2390b14
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user