import React, { useEffect } from 'react'; import Button from 'component/button'; import { SIMPLE_SITE } from 'config'; export default function Footer() { useEffect(() => { if (!window.sp) { const privacyFooterButton = document.getElementById('gdprPrivacyFooter'); if (privacyFooterButton) privacyFooterButton.style.display = 'none'; } }, []); if (!SIMPLE_SITE) { return null; } return ( ); }