Skip to content

Commit

Permalink
minor NFT launchpad fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Oct 6, 2023
1 parent 5003d51 commit fd95afb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion components/sidebars/SidebarRight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
</div>
</div>

<!-- Keys list -->
<!-- Keys list
<KeysListWidget v-if="$config.keysAddress && $config.showFeatures.friendKeys" />
-->

<!-- Swap tokens -->
<SimpleSwapWidget
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ export default defineNuxtConfig({
"newsletter": false,
"nftLaunchpad": true,
"randomMintedPosts": true,
"swap": false,
"swap": true,
"stake": false,
"sendTokens": false,
"spotify": false
},
showRepliesOnHomepage: true, // show replies on the homepage
sidebarLeftSticky: true, // make the left sidebar sticky (always visible)
sidebarLeftSticky: false, // make the left sidebar sticky (always visible)
spotifyPlaylistId: "5y7f2Wxfq49G5KuNQfMPbk", // enter just the ID of the playlist (not the full URL)
stakingContractAddress: "0x96Dc7548fD018d1E51d2d5e98B265411C3D0F22A", // this is also the stake/gov token address
stakeTokenSymbol: "IGT", // stake token symbol (governance token symbol)
Expand Down
2 changes: 1 addition & 1 deletion pages/nft/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default {
this.allNftsArrayLength = await launchpadContract.getNftContractsArrayLength();
}
if (this.allNftsArrayLength === 0) {
if (this.allNftsArrayLength > 0) {
// set the start and end index, if end index is 0
if (this.allNftsIndexEnd === 0) {
this.allNftsIndexEnd = this.allNftsArrayLength - 1;
Expand Down

1 comment on commit fd95afb

@vercel
Copy link

@vercel vercel bot commented on fd95afb Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.