fix: load stripe conditionally (#37365)

This commit is contained in:
Ahmad Abdolsaheb
2019-10-17 15:51:01 +03:00
committed by mrugesh
parent 1eb41c33b3
commit 78b6fd1adf
6 changed files with 48 additions and 25 deletions

View File

@ -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)
);