Skip to content

Commit 1bde16f

Browse files
committed
reducer modified
1 parent d6b7b99 commit 1bde16f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/reducer/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const reducer = (state, action) => {
109109
}
110110
case T.CHANGE_TAB: return { ...state, curGraphIndex: action.payload };
111111

112-
case T.NEW_GRAPH: return { ...state, newGraphModal: true };
112+
case T.NEW_GRAPH: return { ...state, newGraphModal: true, fileHandle: null };
113113
case T.REMOVE_GRAPH: return {
114114
...state,
115115
graphs: state.graphs.filter((e, i) => i !== action.payload),

0 commit comments

Comments
 (0)