From cafc3d676f0949bb652bdee21071b72001535a0e Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 13 Dec 2021 18:21:44 +0100 Subject: [PATCH] switch footer to onetrust --- ui/component/sideNavigation/view.jsx | 4 ++-- web/component/footer.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index d3d96d32e..777e94732 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -340,7 +340,7 @@ function SideNavigation(props: Props) { }, [sidebarOpen, setSidebarOpen, isAbsolute]); useEffect(() => { - if (!window.sp) { + if (!window.Optanon) { const gdprDiv = document.getElementById('gdprPrivacyFooter'); if (gdprDiv) { gdprDiv.style.display = 'none'; @@ -380,7 +380,7 @@ function SideNavigation(props: Props) {