Skip to content

Commit

Permalink
Adds new madladsCollection remote toggle (#3553)
Browse files Browse the repository at this point in the history
* stuff

* remove dockerfile
  • Loading branch information
hkirat authored Apr 3, 2023
1 parent e29f167 commit 885db79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/recoil/src/atoms/nft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions packages/recoil/src/atoms/solana/isONELive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const isOneLive = selector<{
wlCollection?: string;
madCollection?: string;
byeBanner?: string;
madladsCollection?: string;
}>({
key: "isOneLive",
get: async ({ get }) => {
Expand Down

1 comment on commit 885db79

@vercel
Copy link

@vercel vercel bot commented on 885db79 Apr 3, 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.