Browse Source

Make sidebar links shallow

The links for opening the sidebars have been declared for shallow
routing because there are no major changes in other contents of the
pages.
master
TheoryOfNekomata 3 years ago
parent
commit
fb55695366
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      src/components/organisms/layouts/LeftSidebarWithMenu/index.tsx
  2. +1
    -0
      src/components/organisms/widgets/TopBar/index.tsx

+ 1
- 0
src/components/organisms/layouts/LeftSidebarWithMenu/index.tsx View File

@@ -472,6 +472,7 @@ const LeftSidebarWithMenuLayout: React.FC<Props> = ({
textDecoration: 'none',
width: '100%',
}}
shallow
>
<SidebarMenuContainer>
<SidebarMenuItemIcon>


+ 1
- 0
src/components/organisms/widgets/TopBar/index.tsx View File

@@ -150,6 +150,7 @@ const TopBar: React.FC<Props> = ({
display: 'inline-grid',
placeContent: 'center',
}}
shallow
>
<T.Icon
name="menu"


Loading…
Cancel
Save