diff --git a/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue b/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue index 716acc531..a2ae2bd85 100644 --- a/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue +++ b/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue @@ -3,21 +3,16 @@ import NFTImage from '@/assets/images/mocks/NFT.png'; import { useRFNFT } from '@/composables/campaigns/useRFNFT'; import useBreakpoints from '@/composables/useBreakpoints'; import useWeb3 from '@/services/web3/useWeb3'; + const { startConnectWithInjectedProvider } = useWeb3(); const { isMobile, bp } = useBreakpoints(); const { NFTData, isLoading, MintNFT } = useRFNFT(); const { isWalletReady } = useWeb3(); -function handleMintNFT() { - MintNFT(); -} -function handleLevelUp() { - console.debug('Level up'); -} - const nftImageSrc = computed(() => NFTData.value?.imageData || NFTImage); +//TODO: Remove this ugly method and use a better one like all the info in the NFTData :) const levels = ref([ { nextLevel: '100', votes: 1 }, { nextLevel: '250', votes: 10 }, @@ -42,7 +37,7 @@ const levels = ref([
Voting Power
-{{ levels[NFTData?.id - 1].votes }} Votes
+{{ NFTData.attributes[1].value }} Votes
- Votes
Voting Power
-{{ levels[NFTData?.id - 1].votes }} Votes
+{{ NFTData.attributes[1].value }} Votes
- Votes
Voting Power
-{{ levels[NFTData?.id - 1].votes }} Votes
+{{ NFTData.attributes[1].value }} Votes
- Votes