From 885db79715a0bbe3ef3ed428b961babd6193009c Mon Sep 17 00:00:00 2001 From: Kirat Date: Mon, 3 Apr 2023 09:38:22 +0530 Subject: [PATCH] Adds new madladsCollection remote toggle (#3553) * stuff * remove dockerfile --- packages/recoil/src/atoms/nft.tsx | 9 +++++---- packages/recoil/src/atoms/solana/isONELive.tsx | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/recoil/src/atoms/nft.tsx b/packages/recoil/src/atoms/nft.tsx index 061071530..29ca52173 100644 --- a/packages/recoil/src/atoms/nft.tsx +++ b/packages/recoil/src/atoms/nft.tsx @@ -165,15 +165,16 @@ export const collectionChatWL = selector< key: "collectionChatWL", get: async ({ get }: any) => { const onLive = get(isOneLive); - return onLive.wlCollection && - onLive.wlCollection !== "3PMczHyeW2ds7ZWDZbDSF3d21HBqG6yR4tG7vP6qczfj" + return onLive.madladsCollection && + onLive.madladsCollection !== + "3PMczHyeW2ds7ZWDZbDSF3d21HBqG6yR4tG7vP6qczfj" ? [ ...WHITELISTED_CHAT_COLLECTIONS, { - id: onLive.wlCollection, + id: onLive.madladsCollection, name: "Mad Lads", image: "https://www.madlads.com/mad_lads_logo.svg", - collectionId: onLive.wlCollection, + collectionId: onLive.madladsCollection, }, ] : WHITELISTED_CHAT_COLLECTIONS; diff --git a/packages/recoil/src/atoms/solana/isONELive.tsx b/packages/recoil/src/atoms/solana/isONELive.tsx index 9efc93cf2..63a3ae6ba 100644 --- a/packages/recoil/src/atoms/solana/isONELive.tsx +++ b/packages/recoil/src/atoms/solana/isONELive.tsx @@ -10,6 +10,7 @@ export const isOneLive = selector<{ wlCollection?: string; madCollection?: string; byeBanner?: string; + madladsCollection?: string; }>({ key: "isOneLive", get: async ({ get }) => {