From 660fef4440a3e995c575b728dfd033bc232b1747 Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Wed, 5 Jul 2023 09:09:58 +0300 Subject: [PATCH] Temporarily disable the updatable option for flexible collections on testnet --- pages/collections/create.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index 082fe2b..6a99323 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -538,7 +538,11 @@ const CollectionCreationPage: NextPage = () => { whitelist, }, collection_params: { - code_id: collectionDetails?.updatable ? SG721_UPDATABLE_CODE_ID : SG721_CODE_ID, + code_id: collectionDetails?.updatable + ? whitelistDetails?.whitelistType === 'flex' + ? SG721_CODE_ID + : SG721_UPDATABLE_CODE_ID + : SG721_CODE_ID, name: collectionDetails?.name, symbol: collectionDetails?.symbol, info: {