From 2d8ebdcc7215a4c0cae9cade954f4c9a4efc5070 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Wed, 28 Jun 2017 22:11:21 -0700 Subject: [PATCH] Initial store for local settings is now Immutable all the way down --- app/javascript/mastodon/reducers/local_settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/reducers/local_settings.js b/app/javascript/mastodon/reducers/local_settings.js index c6581fe2e..4f00c20d4 100644 --- a/app/javascript/mastodon/reducers/local_settings.js +++ b/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 Immutable from 'immutable'; -const initialState = Immutable.Map({ +const initialState = Immutable.fromJS({ layout : 'auto', stretch : true, collapsed : {