aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-16 23:38:59 +0800
committerFabio Berger <me@fabioberger.com>2018-10-16 23:38:59 +0800
commite6e883e05a6e9518bb769db555f0c3e3324d24d3 (patch)
tree6fe83a94ad7492ed2b2e2818f5f36906247a010d
parent17fb4d5b5703df2a86be0c2f1210c1327debc033 (diff)
downloaddexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.tar
dexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.tar.gz
dexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.tar.bz2
dexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.tar.lz
dexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.tar.xz
dexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.tar.zst
dexon-sol-tools-e6e883e05a6e9518bb769db555f0c3e3324d24d3.zip
chore: remove unused prop
-rw-r--r--packages/react-shared/src/components/nested_sidebar_menu.tsx2
1 files changed, 0 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 70062182b..34f3eb276 100644
--- a/packages/react-shared/src/components/nested_sidebar_menu.tsx
+++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx
@@ -13,7 +13,6 @@ export interface NestedSidebarMenuProps {
sectionNameToLinks: ObjectMap<ALink[]>;
sidebarHeader?: React.ReactNode;
shouldReformatMenuItemNames?: boolean;
- parentName?: string;
}
export interface NestedSidebarMenuState {
@@ -40,7 +39,6 @@ const styles: Styles = {
export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, NestedSidebarMenuState> {
public static defaultProps: Partial<NestedSidebarMenuProps> = {
shouldReformatMenuItemNames: true,
- parentName: 'default',
};
private _urlIntervalCheckId: number;
constructor(props: NestedSidebarMenuProps) {