Skip to content

Commit 4b985a4

Browse files
committed
Oops missed some renames
1 parent 210dfb2 commit 4b985a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/views/file-patch-view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ export default class FilePatchView {
188188

189189
didClickStageButtonForHunk(hunk) {
190190
if (this.selection.getMode() === 'line' && this.selection.getSelectedHunks().has(hunk)) {
191-
return this.props.attemptLineStateOperation(this.selection.getSelectedLines());
191+
return this.props.attemptLineStageOperation(this.selection.getSelectedLines());
192192
} else {
193193
this.selection.selectHunk(hunk);
194194
return this.props.stageOrUnstageHunk(hunk);
195195
}
196196
}
197197

198198
didConfirm() {
199-
return this.props.attemptLineStateOperation(this.selection.getSelectedLines());
199+
return this.props.attemptLineStageOperation(this.selection.getSelectedLines());
200200
}
201201

202202
focus() {

0 commit comments

Comments
 (0)