From 6f4134fffb964e6e21a8e28fc229b3b153a8d654 Mon Sep 17 00:00:00 2001 From: namedotget Date: Tue, 17 Dec 2024 18:02:38 -0600 Subject: [PATCH] Adjusted block list --- ui/const/whitelist.ts | 2 +- ui/pages/citizen/[tokenIdOrName].tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/const/whitelist.ts b/ui/const/whitelist.ts index 3df4d438..3bf9702b 100644 --- a/ui/const/whitelist.ts +++ b/ui/const/whitelist.ts @@ -1,5 +1,5 @@ //https://docs.google.com/spreadsheets/d/1LsYxkI_1alFUD_NxM2a5RngeSRC5e5ElUpP6aR30DiM/edit?gid=0#gid=0 export const blockedTeams: any = [] -export const blockedCitizens: any = ['48', '72'] +export const blockedCitizens: any = [48, 72] export const featuredTeams: any = ['6', '7', '8', '1', '9', '5', '4', '3', '2'] diff --git a/ui/pages/citizen/[tokenIdOrName].tsx b/ui/pages/citizen/[tokenIdOrName].tsx index 94cbf7d7..44f20f4c 100644 --- a/ui/pages/citizen/[tokenIdOrName].tsx +++ b/ui/pages/citizen/[tokenIdOrName].tsx @@ -626,7 +626,7 @@ export const getServerSideProps: GetServerSideProps = async ({ params }) => { if ( !nft || !nft.metadata.uri || - blockedCitizens.includes(nft.metadata.id) + blockedCitizens.includes(Number(nft.metadata.id)) ) { return { notFound: true,