Skip to content

Commit

Permalink
ui: fix action names broken by #25823
Browse files Browse the repository at this point in the history
In that PR, I mechanically replaced identifiers when there were new
warnings about shadowing, but in two places I accidentally changed
semantics due to the shorthand form of object literals.  🤦‍♂️

Release note: None
  • Loading branch information
couchand committed May 23, 2018
1 parent c0c6e90 commit 4232d7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/ui/src/views/devtools/containers/raftMessages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function mapStateToProps(state: AdminUIState) {
const actions = {
refreshNodes,
refreshLiveness,
hoverOnAction,
hoverOffAction,
hoverOn: hoverOnAction,
hoverOff: hoverOffAction,
};
export default connect(mapStateToProps, actions)(NodeGraphs);
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const metricsDataProviderConnected = connect(
};
},
{
requestMetricsAction,
requestMetrics: requestMetricsAction,
},
)(MetricsDataProvider);

Expand Down

0 comments on commit 4232d7f

Please sign in to comment.