Initial store for local settings is now Immutable all the way down

master
kibigo! 8 years ago
parent 595c6de32c
commit 2d8ebdcc72
  1. 2
      app/javascript/mastodon/reducers/local_settings.js

@ -2,7 +2,7 @@ import { LOCAL_SETTING_CHANGE } from '../actions/local_settings';
import { STORE_HYDRATE } from '../actions/store'; import { STORE_HYDRATE } from '../actions/store';
import Immutable from 'immutable'; import Immutable from 'immutable';
const initialState = Immutable.Map({ const initialState = Immutable.fromJS({
layout : 'auto', layout : 'auto',
stretch : true, stretch : true,
collapsed : { collapsed : {

Loading…
Cancel
Save