diff --git a/src/App.vue b/src/App.vue index 3a26e27..b2b03e8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -106,6 +106,9 @@ onMounted(async () => { chainId: chainObject.id, }); walletStore.walletClient = walletClient; + + // walletStore.getTokenBalances() + await memeBurnerStore.init(); console.log("hierabc"); await tokenStore.initV2(); @@ -151,11 +154,12 @@ onMounted(async () => { await rewardLockerStore.init(); await memeBurnerStore.init(); - //init - // roundsStore.currentRound = parseInt(await memeBurnerStore.getCurrentRound()); - // console.log("roundsStore.currentRound", roundsStore.currentRound); - // roundsStore.activeRound = roundsStore.currentRound; - // await roundsStore.fillRound(roundsStore.activeRound); + // init + roundsStore.currentRound = parseInt(await memeBurnerStore.getCurrentRound()); + console.log("roundsStore.currentRound", roundsStore.currentRound); + roundsStore.activeRound = roundsStore.currentRound; + await roundsStore.fillRound(roundsStore.activeRound); + await walletStore.loadWalletData(); }); @@ -169,9 +173,30 @@ onMounted(async () => {
diff --git a/src/assets/sass/base.sass b/src/assets/sass/base.sass index cd472c8..4f95323 100644 --- a/src/assets/sass/base.sass +++ b/src/assets/sass/base.sass @@ -26,6 +26,8 @@ display: flex .bloodline-badge-icon margin-right: 8px + &.grey + background-color: var(--grey) .card display: block diff --git a/src/assets/sass/buttons.sass b/src/assets/sass/buttons.sass index a61741c..7196813 100644 --- a/src/assets/sass/buttons.sass +++ b/src/assets/sass/buttons.sass @@ -15,3 +15,5 @@ background-color: #151515 color: #808080 cursor: not-allowed + &.black + background-color: var(--midnight-black) diff --git a/src/assets/sass/variables.sass b/src/assets/sass/variables.sass index 9721110..02d60a9 100644 --- a/src/assets/sass/variables.sass +++ b/src/assets/sass/variables.sass @@ -35,6 +35,7 @@ $button-background-color: $black --purple: #{$purple} --blood-color: #{$red} --midnight-black: #{$midnight-black} + --black: #{$midnight-black} --darkgrey: #{$darkgrey} // :root // --font-size-text: 16px diff --git a/src/components/ConnectWallet.vue b/src/components/ConnectWallet.vue index 3a1999e..b5c592d 100644 --- a/src/components/ConnectWallet.vue +++ b/src/components/ConnectWallet.vue @@ -11,6 +11,12 @@