AykutSarac 3 лет назад
Родитель
Сommit
5811652150
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      src/components/Sidebar/index.tsx

+ 1 - 3
src/components/Sidebar/index.tsx

@@ -108,7 +108,7 @@ function getLayoutIcon(layout: CanvasDirection) {
   return <CgArrowLongUpE />;
 }
 
-const Sidebar: React.FC = () => {
+export const Sidebar: React.FC = () => {
   const {
     states: { settings },
     dispatch,
@@ -226,5 +226,3 @@ const Sidebar: React.FC = () => {
     </StyledSidebar>
   );
 };
-
-export default React.memo(Sidebar);