aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-17 00:09:17 +0800
committerFabio Berger <me@fabioberger.com>2018-10-17 00:09:17 +0800
commit9bae3e51d96ee3fc2c9652a373df155421228609 (patch)
tree05b80285bb3816cea19481eb56b5799e5b5ad91e /packages/react-shared
parentc84c92663d1ce0227b755dc861f825c35a3c7999 (diff)
downloaddexon-sol-tools-9bae3e51d96ee3fc2c9652a373df155421228609.tar.gz
dexon-sol-tools-9bae3e51d96ee3fc2c9652a373df155421228609.tar.zst
dexon-sol-tools-9bae3e51d96ee3fc2c9652a373df155421228609.zip
chore: initalize _urlIntervalCheckId
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 34f3eb276..fc5ab95fa 100644
--- a/packages/react-shared/src/components/nested_sidebar_menu.tsx
+++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx
@@ -40,7 +40,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
public static defaultProps: Partial<NestedSidebarMenuProps> = {
shouldReformatMenuItemNames: true,
};
- private _urlIntervalCheckId: number;
+ private _urlIntervalCheckId: number | undefined = undefined;
constructor(props: NestedSidebarMenuProps) {
super(props);
this.state = {