From c4f7b2283704dd32900916ae643fd827ef9c224f Mon Sep 17 00:00:00 2001 From: PortalCube <35104213+PortalCube@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:40:34 +0900 Subject: [PATCH 1/8] =?UTF-8?q?feat:=20=ED=99=95=EC=A0=95=EB=90=9C=20?= =?UTF-8?q?=EB=B0=A5=EC=95=BD=EC=97=90=EC=84=9C=20user=20role=EC=97=90=20?= =?UTF-8?q?=EB=94=B0=EB=9D=BC=20=EB=B3=B4=EC=9D=B4=EB=8A=94=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PaymentAccordion.jsx | 11 ++++++++++- src/pages/ScheduledEvent.jsx | 12 +++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/components/PaymentAccordion.jsx b/src/components/PaymentAccordion.jsx index 626851d..3e18b1b 100644 --- a/src/components/PaymentAccordion.jsx +++ b/src/components/PaymentAccordion.jsx @@ -21,6 +21,10 @@ const Container = styled.div` &:hover { background-color: #0000000f; } + + &.hidden { + display: none; + } `; const Icon = styled.div` @@ -90,6 +94,7 @@ const PaymentAccordion = ({ children, value, onChange, + hidden, ...props }) => { const [isTransition, setIsTransition] = useState(false); @@ -129,7 +134,11 @@ const PaymentAccordion = ({ return ( <> - +