aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-20 23:28:25 +0800
committerFabio Berger <me@fabioberger.com>2018-03-20 23:28:25 +0800
commitec582d6e466986ca813aa2d0837e28151a07035b (patch)
tree09d52e1fe874a7badb6374490adfec5256cf1160 /packages/react-shared
parent4ca706d4e6404eaeb9e53494dbc98aabbf2e33f2 (diff)
downloaddexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.tar
dexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.tar.gz
dexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.tar.bz2
dexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.tar.lz
dexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.tar.xz
dexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.tar.zst
dexon-sol-tools-ec582d6e466986ca813aa2d0837e28151a07035b.zip
Small doc fixes: remove duplicate types and add function array
Diffstat (limited to 'packages/react-shared')
-rw-r--r--packages/react-shared/src/components/nested_sidebar_menu.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx
index 2225bd197..c4c87401a 100644
--- a/packages/react-shared/src/components/nested_sidebar_menu.tsx
+++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx
@@ -122,7 +122,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
const name = `${menuItemName}-${entityName}`;
const id = utils.getIdFromName(name);
return (
- <li key={`menuItem-${entityName}`}>
+ <li key={`menuSubsectionItem-${name}`}>
<ScrollLink
to={id}
offset={0}