diff --git a/static/src/javascripts/projects/common/modules/audio/index.js b/static/src/javascripts/projects/common/modules/audio/index.js index 2c9af6c5a3a5..f876591f671c 100644 --- a/static/src/javascripts/projects/common/modules/audio/index.js +++ b/static/src/javascripts/projects/common/modules/audio/index.js @@ -24,10 +24,10 @@ class AudioContainer extends Component { } render() { - const acastEnabled = config.get('switches.acast'); + const isAcastEnabled = config.get('switches.acast'); const isPodcast = config.get('page.isPodcast'); const sourceUrl = - acastEnabled && isPodcast && this.state.acastConsent + isAcastEnabled && isPodcast && this.state.acastConsent ? this.props.source.replace( 'https://', 'https://flex.acast.com/',