From 28603c758ce26d562bf01adfba76e2590146d5e4 Mon Sep 17 00:00:00 2001 From: jakidxav Date: Thu, 29 Aug 2024 12:27:20 -0700 Subject: [PATCH] fixing extra padding issue with footer section and overlays component getters / setters issue --- components/sidebar/footer.js | 6 +----- components/sidebar/index.js | 23 +---------------------- 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/components/sidebar/footer.js b/components/sidebar/footer.js index 02bc79c..4821ff7 100644 --- a/components/sidebar/footer.js +++ b/components/sidebar/footer.js @@ -1,7 +1,6 @@ import { Box, Text } from 'theme-ui' import { Link } from '@carbonplan/components' import { alpha } from '@theme-ui/color' -import { SidebarDivider } from '@carbonplan/layouts' // This component is modeled after the SidebarFooter component: // https://github.com/carbonplan/layouts/blob/main/src/sidebar/sidebar-footer.js @@ -13,12 +12,9 @@ const sx = { } } -const Footer = ({ showRegionPicker }) => { +const Footer = () => { return ( <> - {showRegionPicker && ( - - )} { - {/* setShowRegionPicker(!showRegionPicker)} /> - */} - { )} - - - {/* {showRegionPicker && new Date(time) <= new Date(maxDate) && ( - - - - )} */} +