Skip to content

Commit

Permalink
fix karma tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikrom17 committed Feb 5, 2025
1 parent 9012e76 commit 6f7ac85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/buttons/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ export function normalizeButtonStyle(

props = props || getDefaultButtonPropsInput();
const { fundingSource, experiment } = props;
const { isPaypalRebrandEnabled, defaultBlueButtonColor } = experiment;
const { isPaypalRebrandEnabled, defaultBlueButtonColor } = experiment || {};

const FUNDING_CONFIG = getFundingConfig();
const fundingConfig =
Expand Down

0 comments on commit 6f7ac85

Please sign in to comment.