Fix columns reducer rehydration

This commit is contained in:
Bruno Lemos
2019-02-20 05:04:11 -03:00
parent 51a34b622e
commit ea6f4f8e3c

View File

@@ -32,7 +32,7 @@ export const columnsReducer: Reducer<State> = (
switch (action.type) {
case REHYDRATE as any:
return {
...(action.payload && (action.payload as any).auth),
...(action.payload && (action.payload as any).columns),
..._.pick(initialState, ['focused']),
}