Fix single root element vue standards

This commit is contained in:
Vagner 2024-10-12 23:51:13 -03:00
parent 6e59f77153
commit e6117d77d7
4 changed files with 131 additions and 123 deletions

View File

@ -17,6 +17,7 @@ if (props.isRedirectModal) {
</script>
<template>
<div>
<div
class="modal-overlay inset-0 fixed justify-center backdrop-blur-sm sm:backdrop-blur-none"
v-if="!isRedirectModal"
@ -64,6 +65,7 @@ if (props.isRedirectModal) {
</div>
</div>
</div>
</div>
</template>
<style scoped>

View File

@ -119,6 +119,7 @@ onMounted(async () => {
</script>
<template>
<div>
<SearchComponent
v-if="flowStep == Step.Search"
@token-buy="confirmBuyClick"
@ -161,4 +162,5 @@ onMounted(async () => {
:message="'A transação está sendo enviada para a rede. Em breve os tokens serão depositados em sua carteira.'"
/>
</div>
</div>
</template>

View File

@ -86,6 +86,7 @@ watch(networkName, async () => {
</script>
<template>
<div>
<CustomAlert
v-if="showAlert"
:type="'withdraw'"
@ -112,6 +113,7 @@ watch(networkName, async () => {
/>
</div>
</div>
</div>
</template>
<style scoped>

View File

@ -61,6 +61,7 @@ const sendNetwork = async () => {
</script>
<template>
<div>
<div v-if="flowStep == Step.Sell">
<WantSellComponent v-if="!loading" @approve-tokens="approveOffer" />
<LoadingComponent
@ -86,4 +87,5 @@ const sendNetwork = async () => {
:message="'A transação está sendo enviada para a rede.'"
/>
</div>
</div>
</template>