We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7655905 commit 540762bCopy full SHA for 540762b
packages/browser/src/integrations/featureFlags/unleash/integration.ts
@@ -39,7 +39,7 @@ type UnleashIntegrationOptions = {
39
export const unleashIntegration = defineIntegration(
40
// eslint-disable-next-line deprecation/deprecation
41
({ featureFlagClientClass, unleashClientClass }: UnleashIntegrationOptions) => {
42
- const _unleashClientClass = featureFlagClientClass ?? unleashClientClass;
+ const _unleashClientClass = featureFlagClientClass ? featureFlagClientClass : unleashClientClass;
43
if (!_unleashClientClass) {
44
throw new Error('featureFlagClientClass option is required');
45
}
0 commit comments