Fix sonar issues

This commit is contained in:
RcleydsonR 2023-01-25 23:28:32 -03:00
parent f67fade5ee
commit 7efb10bfde
8 changed files with 1 additions and 16 deletions

0
sonar-project.properties Normal file
View File

View File

@ -12,5 +12,3 @@ import TopBar from "./components/TopBar/TopBar.vue";
</template> </template>
</RouterView> </RouterView>
</template> </template>
<style scoped></style>

View File

@ -19,10 +19,7 @@
--vt-c-text-light-2: rgba(60, 60, 60, 0.66); --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
--vt-c-text-dark-1: var(--vt-c-white); --vt-c-text-dark-1: var(--vt-c-white);
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64); --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}
/* semantic color variables for this project */
:root {
--color-background: var(--vt-c-white); --color-background: var(--vt-c-white);
--color-background-soft: var(--vt-c-white-soft); --color-background-soft: var(--vt-c-white-soft);
--color-background-mute: var(--vt-c-white-mute); --color-background-mute: var(--vt-c-white-mute);

View File

@ -54,7 +54,6 @@ const getValidDeposits = async (
const filterDeposits = p2pContract.filters.DepositAdded(null); const filterDeposits = p2pContract.filters.DepositAdded(null);
const eventsDeposits = await p2pContract.queryFilter(filterDeposits); const eventsDeposits = await p2pContract.queryFilter(filterDeposits);
console.log(eventsDeposits);
if (!contract) p2pContract = getContract(); // get metamask provider contract if (!contract) p2pContract = getContract(); // get metamask provider contract

View File

@ -111,7 +111,6 @@ showInitialItems();
BRZ BRZ
</span> </span>
<!-- TODO: change this hardcoded date -->
<span class="last-release-info transaction-date"> 20 out 2022 </span> <span class="last-release-info transaction-date"> 20 out 2022 </span>
<span class="last-release-info" v-if="!props.isManageMode"> <span class="last-release-info" v-if="!props.isManageMode">

View File

@ -83,7 +83,7 @@ const validatePix = async (): Promise<void> => {
<div <div
class="flex-col items-center justify-center flex w-full bg-white p-8 rounded-lg break-normal" class="flex-col items-center justify-center flex w-full bg-white p-8 rounded-lg break-normal"
> >
<img :src="qrCode" class="w-48 h-48" /> <img alt="Qr code image" :src="qrCode" class="w-48 h-48" />
<span class="text-center font-bold">Código pix</span> <span class="text-center font-bold">Código pix</span>
<div class="break-words w-4/5"> <div class="break-words w-4/5">
<span class="text-center text-xs"> <span class="text-center text-xs">
@ -190,10 +190,6 @@ h2 {
transform: translateX(50%); transform: translateX(50%);
} }
.page {
@apply flex flex-col items-center justify-center w-full mt-16;
}
.text-container { .text-container {
@apply flex flex-col items-center justify-center gap-4; @apply flex flex-col items-center justify-center gap-4;
} }

View File

@ -117,5 +117,3 @@ onMounted(async () => {
/> />
</div> </div>
</template> </template>
<style scoped></style>

View File

@ -75,5 +75,3 @@ const sendNetwork = async () => {
/> />
</div> </div>
</template> </template>
<style scoped></style>