Skip to content

Commit

Permalink
feat: turn on Abacus static typing when not in prod (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanDYDX committed Sep 19, 2024
1 parent 2590461 commit c981006
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/abacus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ class AbacusStateManager {

const appConfigs = AbacusAppConfig.Companion.forWebAppWithIsolatedMargins;
appConfigs.onboardingConfigs.squidVersion = OnboardingConfig.SquidVersion.V2;
appConfigs.staticTyping = import.meta.env.MODE !== 'production';

this.stateManager = new AsyncAbacusStateManager(
'',
CURRENT_ABACUS_DEPLOYMENT,
Expand Down

0 comments on commit c981006

Please sign in to comment.