function Footer({ setPage }) { function goToPolicy(id) { if (setPage) setPage('policies', { tab: id }); } return ( ); }