diff --git a/src/templates/common/medallia/index.tsx b/src/templates/common/medallia/index.tsx index 77992cc98..c29e85336 100644 --- a/src/templates/common/medallia/index.tsx +++ b/src/templates/common/medallia/index.tsx @@ -9,7 +9,8 @@ import { import { BUILD_TYPES } from '@/lib/constants/environment' export function MedalliaAssets() { - const scriptId = process.env.BUILD_TYPE === 'prod' ? 2 : 5 + const scriptId = + process.env.NEXT_PUBLIC_BUILD_TYPE === BUILD_TYPES.PROD ? 2 : 5 useEffect(() => { if (process.env.NEXT_PUBLIC_BUILD_TYPE === BUILD_TYPES.LOCAL) {