Skip to content

Commit

Permalink
fix: implement sdk feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaRamu0104 committed Dec 4, 2023
1 parent ee38c1e commit 2c8ee4b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/entryPoints/hyperswitch/HyperSwitchApp.res
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,14 @@ let make = () => {
renderShow={profileId =>
<Webhooks webhookOnly=false showFormOnly=false />}
/>
| list{"recon"} => <Recon />
| list{"sdk"} => <SDKPage />
| list{"recon"} =>
<FeatureFlagEnabledComponent isEnabled=featureFlagDetails.recon>
<Recon />
</FeatureFlagEnabledComponent>
| list{"sdk"} =>
<FeatureFlagEnabledComponent isEnabled=featureFlagDetails.openSDK>
<SDKPage />
</FeatureFlagEnabledComponent>
| list{"3ds"} => <HSwitchThreeDS />
| list{"account-settings"} =>
<FeatureFlagEnabledComponent isEnabled=featureFlagDetails.sampleData>
Expand Down

0 comments on commit 2c8ee4b

Please sign in to comment.