Skip to content

Commit

Permalink
remove shopify markets logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Sahay committed May 23, 2024
1 parent 94d26d2 commit b05d801
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NostoProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function NostoProvider(props: NostoProviderProps) {
host,
children,
recommendationComponent,
shopifyMarkets= {},
shopifyMarkets = {},
} = props
const [clientScriptLoadedState, setClientScriptLoadedState] = React.useState(false)
const clientScriptLoaded = React.useMemo(() => clientScriptLoadedState, [clientScriptLoadedState])
Expand Down Expand Up @@ -160,7 +160,7 @@ export default function NostoProvider(props: NostoProviderProps) {
}

// Enable Shopify markets functionality:
if (!!shopifyMarkets) {
/*if (!!shopifyMarkets) {
const existingScript = document.querySelector("[nosto-client-script]")
const nostoSandbox = document.querySelector("#nosto-sandbox")
Expand Down Expand Up @@ -199,7 +199,7 @@ export default function NostoProvider(props: NostoProviderProps) {
}
document.body.appendChild(script)
}
}
}*/
}, [clientScriptLoadedState, shopifyMarkets])

return (
Expand Down

0 comments on commit b05d801

Please sign in to comment.