Skip to content

Commit

Permalink
Merge pull request #11 from HORNET-Storage/fix/layout-shift
Browse files Browse the repository at this point in the history
fix: accidental commit
  • Loading branch information
f7f376a1fcd0d0e11a10ed1b6577c9 authored Jul 15, 2024
2 parents 38bd617 + 3bfc65b commit e2e4e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layouts/main/MainLayout/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const MainLayout: React.FC = () => {

return (
<S.LayoutMaster>
<MainSider isCollapsed={siderCollapsed} setCollapsed={setSiderCollapsed} />
<S.LayoutMain>
<MainHeader isSiderOpened={!siderCollapsed} isTwoColumnsLayout={isTwoColumnsLayout}>
<Header toggleSider={toggleSider} isSiderOpened={!siderCollapsed} isTwoColumnsLayout={isTwoColumnsLayout} />
Expand Down Expand Up @@ -107,7 +108,6 @@ const MainLayout: React.FC = () => {
</div>
)}
</S.LayoutMain>
<MainSider isCollapsed={siderCollapsed} setCollapsed={setSiderCollapsed} />
</S.LayoutMaster>
);
};
Expand Down

0 comments on commit e2e4e95

Please sign in to comment.