diff --git a/apps/dapp/src/helpers/getRemoteConfig.ts b/apps/dapp/src/helpers/getRemoteConfig.ts index 13c2486..674b98a 100644 --- a/apps/dapp/src/helpers/getRemoteConfig.ts +++ b/apps/dapp/src/helpers/getRemoteConfig.ts @@ -2,10 +2,10 @@ import { configFile } from '@/constants/constants'; const isLocal = process.env.NEXT_PUBLIC_IS_LOCAL const localDeployment = require('../../../contracts/.soroban/deployments.json') export const getRemoteConfig = async (network: string) => { - if(isLocal === 'true') { - return localDeployment - } else if (isLocal === 'false') { + if (isLocal === 'false') { const deployments = await configFile(network) return deployments + } else if(isLocal === 'true') { + return localDeployment } } \ No newline at end of file