Skip to content

Commit

Permalink
fix: different configs for staging and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu committed Nov 13, 2023
1 parent d95a943 commit 937dabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/mpc/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const SOCIAL_WALLET_OPTIONS: any = (() => {
const SOCIAL_WALLET_OPTIONS_STAGING = process.env.NEXT_PUBLIC_SOCIAL_WALLET_OPTIONS_STAGING || ''

try {
return JSON.parse(IS_PRODUCTION ? SOCIAL_WALLET_OPTIONS_PRODUCTION : SOCIAL_WALLET_OPTIONS_PRODUCTION)
return JSON.parse(IS_PRODUCTION ? SOCIAL_WALLET_OPTIONS_PRODUCTION : SOCIAL_WALLET_OPTIONS_STAGING)
} catch (error) {
console.error('Error parsing SOCIAL_WALLET_OPTIONS', error)
return {}
Expand Down

0 comments on commit 937dabb

Please sign in to comment.