add an .env.example file and fix lint warnings

This commit is contained in:
RcleydsonR
2022-12-12 17:05:50 -03:00
parent dbfeb7017f
commit 5f753a62ca
6 changed files with 18 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ const handleInputEvent = (event: any) => {
};
const validatePix = async (e2eid: any) => {
if(e2eid == ''){
if (e2eid == "") {
isPixValid.value = false;
isCodeInputEmpty.value = true;
return;
@@ -40,7 +40,7 @@ const validatePix = async (e2eid: any) => {
var sellerPixKey = props.pixTarget;
var transactionValue = props.tokenValue;
if(sellerPixKey && transactionValue){
if (sellerPixKey && transactionValue) {
var body_req = {
e2e_id: e2eid,
pix_key: sellerPixKey,
@@ -108,7 +108,10 @@ const validatePix = async (e2eid: any) => {
class="text-md w-full box-border p-2 h-6 mb-2 outline-none"
/>
<div class="custom-divide" v-if="!isCodeInputEmpty"></div>
<div class="flex flex-col w-full" v-if="!isPixValid && !isCodeInputEmpty">
<div
class="flex flex-col w-full"
v-if="!isPixValid && !isCodeInputEmpty"
>
<div class="flex items-center h-8">
<img
alt="Invalid Icon"

View File

@@ -1,6 +1,4 @@
<script setup lang="ts">
</script>
<script setup lang="ts"></script>
<template>
<div class="page">
<div class="text-container">