Skip to content

Commit

Permalink
ref(flags): update unleash onboarding snippet js (#83768)
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewzhang authored and andrewshie-sentry committed Jan 22, 2025
1 parent 5e394ad commit c652741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/app/gettingStartedDocs/javascript/javascript.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const result = client.getBooleanValue('my-flag', false);`,
},
[IntegrationOptions.UNLEASH]: {
importStatement: `import { UnleashClient } from 'unleash-proxy-client';`,
integration: 'unleashIntegration(UnleashClient)',
integration: 'unleashIntegration({unleashClientClass: UnleashClient})',
sdkInit: `const unleash = new UnleashClient({
url: "https://<your-unleash-instance>/api/frontend",
clientKey: "<your-client-side-token>",
Expand Down

0 comments on commit c652741

Please sign in to comment.