Skip to content

Commit

Permalink
Merge pull request #27750 from code-dot-org/remove-unused-showInstruc…
Browse files Browse the repository at this point in the history
…tionsDialog

remove unused showInstructionsDialog prop from TopInstructionsCSF
  • Loading branch information
Hamms committed Apr 1, 2019
2 parents 4c80235 + 8613de7 commit 3d67655
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions apps/src/templates/instructions/TopInstructionsCSF.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Radium from 'radium';
import classNames from 'classnames';
import {connect} from 'react-redux';
var instructions = require('../../redux/instructions');
import {openDialog} from '../../redux/instructionsDialog';
var color = require('../../util/color');
var styleConstants = require('../../styleConstants');
var commonStyles = require('../../commonStyles');
Expand Down Expand Up @@ -224,8 +223,7 @@ class TopInstructions extends React.Component {
toggleInstructionsCollapsed: PropTypes.func.isRequired,
setInstructionsHeight: PropTypes.func.isRequired,
setInstructionsRenderedHeight: PropTypes.func.isRequired,
setInstructionsMaxHeightNeeded: PropTypes.func.isRequired,
showInstructionsDialog: PropTypes.func.isRequired
setInstructionsMaxHeightNeeded: PropTypes.func.isRequired
};

static defaultProps = {
Expand Down Expand Up @@ -888,15 +886,6 @@ module.exports = connect(
},
clearFeedback(height) {
dispatch(instructions.setFeedback(null));
},
showInstructionsDialog(height) {
dispatch(
openDialog({
autoClose: false,
imgOnly: false,
hintsOnly: true
})
);
}
};
},
Expand Down

0 comments on commit 3d67655

Please sign in to comment.