Skip to content

Commit 13a28f6

Browse files
committed
fix queue handling
1 parent afea0fa commit 13a28f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/handlers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ function handlers(app, opts, done){
172172
}
173173

174174
function cancelOverwriteFile(){
175-
store.dispatch(creators.resetActionQueue());
175+
const { nextFile } = store.getState();
176+
store.dispatch(creators.queueChangeFile(nextFile));
176177
history.goBack();
177178
}
178179

0 commit comments

Comments
 (0)