diff --git a/app/components/ramp/Ramp.tsx b/app/components/ramp/Ramp.tsx index 842570fdc..6b1b3d096 100644 --- a/app/components/ramp/Ramp.tsx +++ b/app/components/ramp/Ramp.tsx @@ -5,11 +5,7 @@ // import React from "react"; - -window.ramp = window.ramp || {}; -window.ramp.que = window.ramp.que || []; -window.ramp.passiveMode = true; -window._pwRampComponentLoaded = window._pwRampComponentLoaded || false; +import { logger } from "../../utils/logger"; const oopUnits = [ "trendi_slideshow", @@ -71,6 +67,8 @@ export default class Ramp extends React.Component { } displayTaglessUnits() { + logger.info("Displaying tagless units"); + window.ramp.que.push(() => { window.ramp .addUnits([ diff --git a/app/root.tsx b/app/root.tsx index 96123a354..5735f52b1 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -147,6 +147,17 @@ function Document({ return ( +