diff --git a/src/components/DocsButton.tsx b/src/components/DocsButton.tsx index 4c254726..e1fbd55a 100644 --- a/src/components/DocsButton.tsx +++ b/src/components/DocsButton.tsx @@ -10,7 +10,7 @@ import ActionButton, { ActionButtonProps } from './ActionButton'; import { TooltipId } from './button'; import docsIcon from './images/run.svg'; // FIXME: need proper icon -type StateProps = {}; +type StateProps = undefined; type DispatchProps = Pick; type OwnProps = Pick; @@ -19,14 +19,13 @@ const mapDispatchToProps = (dispatch: Dispatch): DispatchProps => ({ }); const mergeProps = ( - stateProps: StateProps, + _stateProps: StateProps, dispatchProps: DispatchProps, ownProps: OwnProps, ): ActionButtonProps => ({ tooltip: TooltipId.Docs, icon: docsIcon, ...ownProps, - ...stateProps, ...dispatchProps, });