From b2ecdf44a5f68cba49ade940d9a707232c65d33a Mon Sep 17 00:00:00 2001 From: ocBruno Date: Tue, 21 Jan 2020 01:13:55 -0300 Subject: [PATCH] fix(panel): fix panel opening on non collapsible panel fix #233 --- src/components/Panel/Panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Panel/Panel.tsx b/src/components/Panel/Panel.tsx index 716b9a9e..66b7d65e 100644 --- a/src/components/Panel/Panel.tsx +++ b/src/components/Panel/Panel.tsx @@ -36,7 +36,7 @@ const Panel = (props: Props) => { return ( {title && ( - setOpen(!open)} style={{ textAlign: 'left' }}> + collapsible && setOpen(!open)} style={{ textAlign: 'left' }}> {title} {collapsible && collapseIcon}