Browse Source

update export

AykutSarac 3 years ago
parent
commit
5811652150
1 changed files with 1 additions and 3 deletions
  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);