code clean up + claimcomponent value update#
This commit is contained in:
@@ -128,6 +128,7 @@ function openUnstake() {
|
||||
|
||||
async function stakeAndClaimAllRounds() {
|
||||
try {
|
||||
const unclaimedRewards = walletStore.memeToken?.unclaimedRewards;
|
||||
stateClaim.value = 2;
|
||||
console.log("tokenNumber.value", tokenNumber.value);
|
||||
console.log("walletStore.memeToken?.unclaimedRewards", walletStore.memeToken?.unclaimedRewards);
|
||||
@@ -140,7 +141,7 @@ async function stakeAndClaimAllRounds() {
|
||||
stateClaim.value = 4;
|
||||
await walletStore.loadWalletData();
|
||||
showSuccessToast(
|
||||
walletStore.memeToken?.unclaimedRewards,
|
||||
unclaimedRewards,
|
||||
"Success!",
|
||||
"You just claimed and staked",
|
||||
"Join the next cycle to increase your rewards and win with your clan"
|
||||
|
||||
Reference in New Issue
Block a user