Skip to content

Commit

Permalink
update rainbowkit (#354)
Browse files Browse the repository at this point in the history
* update rainbowkit

* rename
  • Loading branch information
mehdi-torabiv authored Dec 4, 2024
1 parent ddcbf2b commit affd0a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/configs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export const conf = {
PROJECT_ID: process.env.NEXT_PUBLIC_PROJECT_ID,
APP_DEVELOPER_PUBLIC_ADDRESS:
process.env.NEXT_PUBLIC_APP_DEVELOPER_PUBLIC_ADDRESS,
IS_MAINNET: process.env.NEXT_PUBLIC_IS_MAINNET,
};
2 changes: 1 addition & 1 deletion src/rainbowKitConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { http } from 'wagmi';

import { conf } from './configs';

const isProduction = process.env.NODE_ENV === 'production';
const isProduction = conf.IS_MAINNET === 'true';

export const SUPPORTED_CHAINS: Chain[] = isProduction
? [arbitrum]
Expand Down

0 comments on commit affd0a6

Please sign in to comment.