fix: load stripe conditionally (#37365)
This commit is contained in:
committed by
mrugesh
parent
1eb41c33b3
commit
78b6fd1adf
@ -38,12 +38,6 @@ export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
|
||||
`
|
||||
}}
|
||||
key='gtag-dataLayer'
|
||||
/>,
|
||||
<script
|
||||
async={true}
|
||||
id='stripe-js'
|
||||
key='stripe-js'
|
||||
src='https://js.stripe.com/v3/'
|
||||
/>
|
||||
].filter(Boolean)
|
||||
);
|
||||
|
Reference in New Issue
Block a user