From dc546471788c036187cc65bb03c66fb9a3f4614b Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 23 Nov 2017 17:57:16 +0100 Subject: [PATCH] fix clear --- src/reducer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reducer/index.js b/src/reducer/index.js index 058d92d..e82be84 100644 --- a/src/reducer/index.js +++ b/src/reducer/index.js @@ -206,7 +206,7 @@ function sketcherReducer(state = initialState, action) { return state; case actions.CLEAR: - return initialState; + return update(initialState, {}); case actions.OPEN_SKETCH: let first = true;