Skip to content

Commit

Permalink
Use the currently passed-in value for vagovprod to load Medallia scri…
Browse files Browse the repository at this point in the history
…pts. (#863)
  • Loading branch information
timcosgrove authored Jan 9, 2025
1 parent 3fdc28c commit cf2af71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/common/medallia/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { BUILD_TYPES } from '@/lib/constants/environment'

export function MedalliaAssets() {
const scriptId = process.env.BUILD_TYPE === BUILD_TYPES.PROD ? 2 : 5
const scriptId = process.env.BUILD_TYPE === 'prod' ? 2 : 5

useEffect(() => {
if (process.env.NEXT_PUBLIC_BUILD_TYPE === BUILD_TYPES.LOCAL) {
Expand Down

0 comments on commit cf2af71

Please sign in to comment.