Fix custom modal css to align it at center independent of device

Co-authored-by: enzoggqs <eggqsaraiva@gmail.com>
This commit is contained in:
RcleydsonR
2023-02-10 16:59:28 -03:00
parent 2ea9f18cc1
commit 03c7d14b4b
5 changed files with 29 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ const etherStore = useEtherStore();
etherStore.setSellerView(false);
// States
const { loadingLock, walletAddress, networkName} = storeToRefs(etherStore);
const { loadingLock, walletAddress, networkName } = storeToRefs(etherStore);
const flowStep = ref<Step>(Step.Search);
const pixTarget = ref<number>();
const tokenAmount = ref<number>();
@@ -98,19 +98,19 @@ const checkForUnreleasedLocks = async () => {
flowStep.value = Step.Search;
showModal.value = false;
}
}
};
if (walletAddress){
await checkForUnreleasedLocks();
}
// if (walletAddress) {
// await checkForUnreleasedLocks();
// }
watch(walletAddress, async () => {
await checkForUnreleasedLocks();
});
// watch(walletAddress, async () => {
// await checkForUnreleasedLocks();
// });
watch(networkName, async () => {
await checkForUnreleasedLocks();
});
// watch(networkName, async () => {
// await checkForUnreleasedLocks();
// });
onMounted(async () => {
await getNetworksLiquidity();