diff --git a/lib/views/file-patch-view.js b/lib/views/file-patch-view.js index b041c912b5..968972acf4 100644 --- a/lib/views/file-patch-view.js +++ b/lib/views/file-patch-view.js @@ -54,6 +54,7 @@ export default class FilePatchView { const selectedLines = this.selection.getSelectedLines() const headHunk = this.selection.getHeadHunk() const headLine = this.selection.getHeadLine() + const hunkSelectionMode = this.selection.getMode() === 'hunk' const stageButtonLabelPrefix = this.props.stagingStatus === 'unstaged' ? 'Stage' : 'Unstage' return (