Update default mode in reducer

This commit is contained in:
Paul Kaplan 2017-10-24 15:52:39 -04:00
parent 4e9108e8e3
commit 4d0f3e8311

View file

@ -2,7 +2,7 @@ import Modes from '../modes/modes';
import log from '../log/log';
const CHANGE_MODE = 'scratch-paint/modes/CHANGE_MODE';
const initialState = Modes.BRUSH;
const initialState = Modes.SELECT;
const reducer = function (state, action) {
if (typeof state === 'undefined') state = initialState;