Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix merge problem with non .toJS error
Browse files Browse the repository at this point in the history
Related to a merge from #10866
  • Loading branch information
bbondy committed Sep 19, 2017
1 parent fa49528 commit aae724b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/stores/appStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const {initWindowCacheState} = require('../../app/sessionStoreShutdown')
const platformUtil = require('../../app/common/lib/platformUtil')

// state helpers
const {isImmutable, makeImmutable} = require('../../app/common/state/immutableUtil')
const {isImmutable, makeImmutable, makeJS} = require('../../app/common/state/immutableUtil')
const basicAuthState = require('../../app/common/state/basicAuthState')
const extensionState = require('../../app/common/state/extensionState')
const aboutNewTabState = require('../../app/common/state/aboutNewTabState')
Expand Down Expand Up @@ -117,8 +117,8 @@ const setWindowPosition = (browserOpts, defaults, immutableWindowState) => {
}

const createWindow = (action) => {
const frameOpts = (action.frameOpts && action.frameOpts.toJS()) || {}
let browserOpts = (action.browserOpts && action.browserOpts.toJS()) || {}
const frameOpts = makeJS(action.frameOpts, {})
let browserOpts = makeJS(action.browserOpts, {})
const immutableWindowState = action.restoredState || Immutable.Map()
const defaults = windowDefaults()

Expand Down

0 comments on commit aae724b

Please sign in to comment.