浏览代码

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
父节点
当前提交
fb55695366
共有 2 个文件被更改,包括 2 次插入0 次删除
  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 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存