Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging main with prod #170

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/UserNFTs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import axios from 'axios';
import Cookies from 'js-cookie';

const ALLOWED_COLLECTIONS = {
sol: ['SMB Gen2', 'sharx by sharky.fi', 'Superteam Member NFT', 'Deanslist', 'SMB Gen3', "Erebrus Community NFT #001"],
sol: ['SMB', 'sharx', '$TEAM', 'DEAN', "Erebrus Community NFT #001"],
apt: ["Undying City Equipment Collection"]
};

Expand Down Expand Up @@ -40,7 +40,7 @@ const fetchUserNFTs = async (chainSymbol: string) => {
console.log('All user NFTs:', userNFTs);

const filteredNFTs = userNFTs.filter(nft =>
ALLOWED_COLLECTIONS.sol.includes(nft.name)
ALLOWED_COLLECTIONS.sol.includes(nft.symbol)
).map(nft => ({
amount: 1,
current_token_data: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@martianwallet/aptos-wallet-adapter": "^0.0.5",
"@metaplex-foundation/js": "^0.20.1",
"@metaplex-foundation/mpl-token-metadata": "^3.2.1",
"@metaplex-foundation/umi": "^0.9.2",
"@metaplex-foundation/umi-bundle-defaults": "^0.9.2",
"@metaplex-foundation/umi-signer-wallet-adapters": "^0.9.2",
"@metaplex-foundation/umi-uploader-bundlr": "^0.9.2",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading