Resolve Lint errors in NavBar component (#528)

This commit is contained in:
hardiknai-techm
2021-03-10 00:04:01 +05:30
committed by GitHub
parent b241771e69
commit ef6ecf0a5f
2 changed files with 1 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ export class ControlBarComponent extends React.Component<ControlBarComponentProp
return commandButtonOptions.map(
(btn: CommandButtonComponentProps, index: number): JSX.Element => {
// Remove label
btn.commandButtonLabel = null;
btn.commandButtonLabel = undefined;
return CommandButtonComponent.renderButton(btn, `${index}`);
}
);