瀏覽代碼

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 年之前
父節點
當前提交
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"


Loading…
取消
儲存