Skip to content

Commit

Permalink
fix: Set composition string to empty after commit string
Browse files Browse the repository at this point in the history
  • Loading branch information
jessy1092 committed Jul 14, 2016
1 parent 95543eb commit 30d10e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reducer/candidateMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function candidateMode(request, preState) {
return Object.assign({}, preState, {
action: 'COMMIT_STRING',
showCandidates: false,
compositionString: '',
commitString: selectCandidate.split(' ')[0]
});
}
Expand All @@ -72,6 +73,7 @@ function candidateMode(request, preState) {
return Object.assign({}, preState, {
action: 'COMMIT_STRING',
showCandidates: false,
compositionString: '',
commitString: selectCandidate.split(' ')[0]
});
}
Expand Down

0 comments on commit 30d10e0

Please sign in to comment.