feat:prepare list component to receive real dtransactions from connected wallet

Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
Co-authored-by: Esio Freitas <esio.gustavo@gmail.com>
This commit is contained in:
RcleydsonR
2022-12-07 19:38:47 -03:00
parent b00c5bb939
commit f25c61b21e
3 changed files with 30 additions and 21 deletions

View File

@@ -63,7 +63,12 @@ const confirmBuyClick = async ({ selectedDeposit, tokenValue }: any) => {
<template>
<SearchComponent v-if="(flowStep == Step.Search)" @token-buy="confirmBuyClick" />
<ListComponent v-if="(flowStep == Step.List)" :tokenAmmount="tokenAmmount" />
<Suspense>
<ListComponent v-if="(flowStep == Step.List)" :tokenAmmount="tokenAmmount" />
<template #fallback>
Carregando...
</template>
</Suspense>
</template>
<style scoped></style>