fix error files caused during vercel build step
This commit is contained in:
parent
c4b74309cc
commit
150a325bdc
@ -3,10 +3,10 @@ import CustomButton from "@/components/CustomButton.vue";
|
||||
import blockchain from "../utils/blockchain";
|
||||
|
||||
// props
|
||||
const props = defineProps({
|
||||
lastWalletReleaseTransactions: Array,
|
||||
tokenAmount: Number,
|
||||
});
|
||||
const props = defineProps<{
|
||||
lastWalletReleaseTransactions: any[] | undefined;
|
||||
tokenAmount: Number | undefined;
|
||||
}>();
|
||||
|
||||
// Emits
|
||||
const emit = defineEmits(["makeAnotherTransaction"]);
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import HomeView from "../views/HomeView.vue";
|
||||
import MockView from "../views/MockView.vue";
|
||||
import ListView from "../components/ListComponent.vue";
|
||||
import SellerView from "@/views/SellerView.vue";
|
||||
|
||||
const router = createRouter({
|
||||
@ -22,11 +21,6 @@ const router = createRouter({
|
||||
name: "mock",
|
||||
component: MockView,
|
||||
},
|
||||
{
|
||||
path: "/list",
|
||||
name: "list",
|
||||
component: ListView,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
@ -276,7 +276,7 @@ const addDeposit = async (tokenQty: Number, pixKey: string) => {
|
||||
};
|
||||
|
||||
// Get specific deposit data by its ID
|
||||
const mapDeposits = async (depositId: BigNumber) => {
|
||||
const mapDeposits = async (depositId: BigNumber): Promise<any> => {
|
||||
const provider = getProvider();
|
||||
|
||||
if (!provider) return;
|
||||
|
@ -32,6 +32,10 @@ const confirmBuyClick = async ({ selectedDeposit, tokenValue }: any) => {
|
||||
const depositId = selectedDeposit.depositID;
|
||||
pixTarget.value = selectedDeposit.pixKey;
|
||||
tokenAmount.value = tokenValue;
|
||||
// depositId is BigNumber type object
|
||||
tokenAmount.value = tokenValue;
|
||||
|
||||
pixTarget.value = String(depositDetail?.pixTarget);
|
||||
|
||||
// Makes lock with deposit ID and the Amount
|
||||
if (depositDetail) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user