Ver código fonte

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 anos atrás
pai
commit
fb55695366
2 arquivos alterados com 2 adições e 0 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

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


Carregando…
Cancelar
Salvar