Change default columns for new users
parent
28724df663
commit
b90ad78073
|
@ -82,8 +82,9 @@ const initialState = ImmutableMap({
|
|||
|
||||
const defaultColumns = fromJS([
|
||||
{ id: 'COMPOSE', uuid: uuid(), params: {} },
|
||||
{ id: 'HOME', uuid: uuid(), params: {} },
|
||||
{ id: 'NOTIFICATIONS', uuid: uuid(), params: {} },
|
||||
{ id: 'HOME', uuid: uuid(), params: {} },
|
||||
{ id: 'COMMUNITY', uuid: uuid(), params: {} },
|
||||
]);
|
||||
|
||||
const hydrate = (state, settings) => state.mergeDeep(settings).update('columns', (val = defaultColumns) => val);
|
||||
|
|
Loading…
Reference in New Issue