diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-04 00:25:23 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-04 00:25:23 +0800 |
commit | 7197f264945da4bfc6b1c90f1e4314ad41884d72 (patch) | |
tree | d710ad5480845e01b1c4b11696d8ff234ae45d11 | |
parent | 46764c2d3f491e7558eede0f501c767c6e57f568 (diff) | |
download | dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.tar dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.tar.gz dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.tar.bz2 dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.tar.lz dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.tar.xz dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.tar.zst dexon-0x-contracts-7197f264945da4bfc6b1c90f1e4314ad41884d72.zip |
rename for clarity
-rw-r--r-- | packages/react-shared/src/components/nested_sidebar_menu.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx index ec42c8265..0e6a06a3b 100644 --- a/packages/react-shared/src/components/nested_sidebar_menu.tsx +++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx @@ -127,9 +127,9 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N ) { return null; } - return this._renderSubsectionsLinks(menuItemName, this.props.subsectionNameToLinks[menuItemName]); + return this._renderSubsectionLinks(menuItemName, this.props.subsectionNameToLinks[menuItemName]); } - private _renderSubsectionsLinks(menuItemName: string, links: ALink[]): React.ReactNode { + private _renderSubsectionLinks(menuItemName: string, links: ALink[]): React.ReactNode { return ( <ul style={{ margin: 0, listStyleType: 'none', paddingLeft: 0 }} key={menuItemName}> {_.map(links, link => { |