From d25ef5ad63ca61b2622ca1b4d17ae2136afa5b5f Mon Sep 17 00:00:00 2001 From: EmberSpirit Date: Tue, 17 Oct 2023 18:06:25 +0200 Subject: [PATCH] bigint umpdate --- src/App.vue | 8 +++ src/components/BloodChart.vue | 5 +- src/components/BloodSplash.vue | 18 +++---- src/components/ClaimComponent.vue | 22 +++++--- src/components/ConnectWallet.vue | 3 +- src/components/SacrificeToken.vue | 45 +++++++++-------- src/components/StakeComponentV1.vue | 14 ++++-- src/components/StakeMenu.vue | 22 ++++---- src/components/TokenClaim.vue | 19 ++++--- src/components/TokenInput.vue | 4 +- src/components/toasts/ApprovedToast.vue | 18 +++++-- src/main.js | 3 +- src/stores/cycles.js | 67 ++++++++++++------------- src/stores/memeburner.js | 11 ++-- src/stores/rewardlocker.js | 11 ++-- src/stores/sacrifice.js | 60 +++++++++++----------- src/stores/tokens.js | 32 ++++++------ src/stores/uniswap.js | 3 +- src/stores/walletV2.js | 8 ++- src/views/CycleView.vue | 7 ++- 20 files changed, 214 insertions(+), 166 deletions(-) diff --git a/src/App.vue b/src/App.vue index fc3bf7e..6ee0afe 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,8 +33,14 @@ watch(showPanel, (newValue, oldValue) => { console.log("document.body", document.body); if (newValue) { document.body.classList.add("sideoutpanel-open"); + if (isMobile) { + document.body.classList.add("mobile"); + } } else { document.body.classList.remove("sideoutpanel-open"); + if (isMobile) { + document.body.classList.remove("mobile"); + } } }); @@ -78,6 +84,7 @@ onMounted(async () => { cycleStore.activeCycle = cycleStore.currentCycle; } + console.log("cycleStore.activeCycle", cycleStore.activeCycle); await cycleStore.fillCycle(cycleStore.activeCycle); }); @@ -95,6 +102,7 @@ onMounted(async () => {