From b24f33898e18bf9f4512bef688651da5e1d33e7b Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:04:39 +0100 Subject: [PATCH] use aspect ratio for Sidebar card --- packages/components/src/sidebar/sidebar.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/sidebar/sidebar.tsx b/packages/components/src/sidebar/sidebar.tsx index 899ad794..efc803eb 100644 --- a/packages/components/src/sidebar/sidebar.tsx +++ b/packages/components/src/sidebar/sidebar.tsx @@ -198,7 +198,7 @@ const COMMUNITIES_EXPAND_CONTROL = COMMUNITIES.reduce( {} as Record[] ) -const _Sidebar = (props: Props) => { +const Sidebar = (props: Props) => { const { name, description, membersCount } = props const [isExpanded, setIsExpanded] = useState({ ...COMMUNITIES_EXPAND_CONTROL, @@ -218,8 +218,8 @@ const _Sidebar = (props: Props) => { { ) } -export const Sidebar = _Sidebar +export { Sidebar }