From ef6ecf0a5f09ba140df86bdd12bbd982dd44f57b Mon Sep 17 00:00:00 2001 From: hardiknai-techm <80053762+hardiknai-techm@users.noreply.github.com> Date: Wed, 10 Mar 2021 00:04:01 +0530 Subject: [PATCH] Resolve Lint errors in NavBar component (#528) --- .eslintignore | 5 ----- src/Explorer/Menus/NavBar/ControlBarComponent.tsx | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.eslintignore b/.eslintignore index b717fcfc7..3f7846c9b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -314,11 +314,6 @@ src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNeighborsComponent.tsx src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.test.tsx src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.tsx src/Explorer/Menus/CommandBar/CommandBarUtil.tsx -src/Explorer/Menus/NavBar/ControlBarComponent.tsx -src/Explorer/Menus/NavBar/ControlBarComponentAdapter.tsx -src/Explorer/Menus/NavBar/MeControlComponent.test.tsx -src/Explorer/Menus/NavBar/MeControlComponent.tsx -src/Explorer/Menus/NavBar/MeControlComponentAdapter.tsx src/Explorer/Menus/NotificationConsole/NotificationConsoleComponent.test.tsx src/Explorer/Menus/NotificationConsole/NotificationConsoleComponent.tsx src/Explorer/Menus/NotificationConsole/NotificationConsoleComponentAdapter.tsx diff --git a/src/Explorer/Menus/NavBar/ControlBarComponent.tsx b/src/Explorer/Menus/NavBar/ControlBarComponent.tsx index f3ff9f835..26864cea5 100644 --- a/src/Explorer/Menus/NavBar/ControlBarComponent.tsx +++ b/src/Explorer/Menus/NavBar/ControlBarComponent.tsx @@ -17,7 +17,7 @@ export class ControlBarComponent extends React.Component { // Remove label - btn.commandButtonLabel = null; + btn.commandButtonLabel = undefined; return CommandButtonComponent.renderButton(btn, `${index}`); } );