From f8a75b8e2596b761b7ba055124e6c2b7753b2178 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Sat, 7 Nov 2020 19:16:10 -0300 Subject: [PATCH] Removing useDialog, cause rerender --- components/ui/Sidebar/Sidebar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ui/Sidebar/Sidebar.tsx b/components/ui/Sidebar/Sidebar.tsx index 3cc4920a8..a23992946 100644 --- a/components/ui/Sidebar/Sidebar.tsx +++ b/components/ui/Sidebar/Sidebar.tsx @@ -1,5 +1,4 @@ -import cn from 'classnames' -import { FC, useRef, useMemo } from 'react' +import { FC, useRef } from 'react' import s from './Sidebar.module.css' import { Transition } from '@headlessui/react' import { useOverlay, OverlayContainer } from '@react-aria/overlays'