From 6704d0bc6d97efdfca75b9367c5d25055ea86d4a Mon Sep 17 00:00:00 2001 From: Tolgahan Arikan Date: Thu, 19 Dec 2024 13:59:40 +0300 Subject: [PATCH] Update example config for debug mode --- examples/react/src/config.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/examples/react/src/config.ts b/examples/react/src/config.ts index 9349f0c2..03900639 100644 --- a/examples/react/src/config.ts +++ b/examples/react/src/config.ts @@ -82,13 +82,15 @@ export const config = }, walletConnect: { projectId: walletConnectProjectId - } + }, + isDev: isDebugMode }) : createConfig('universal', { ...kitConfig, appName: 'Kit Demo', chainIds: [ ChainId.ARBITRUM_NOVA, + ChainId.ARBITRUM, ChainId.ARBITRUM_SEPOLIA, ChainId.POLYGON, ChainId.IMMUTABLE_ZKEVM, @@ -110,10 +112,14 @@ export const getErc1155SaleContractConfig = (walletAddress: string) => ({ // contractAddress: '0xf0056139095224f4eec53c578ab4de1e227b9597', // collectionAddress: '0x92473261f2c26f2264429c451f70b0192f858795', wallet: walletAddress, - items: [{ - tokenId: '1', - quantity: '1' - }], - onSuccess: () => { console.log('success') }, + items: [ + { + tokenId: '1', + quantity: '1' + } + ], + onSuccess: () => { + console.log('success') + }, isDev: isDebugMode })