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

View File

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

View File

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

View File

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