diff --git a/app/sessionStore.js b/app/sessionStore.js index c4d12030cba..ef854bf6fd0 100644 --- a/app/sessionStore.js +++ b/app/sessionStore.js @@ -36,20 +36,6 @@ const getSetting = require('../js/settings').getSetting const promisify = require('../js/lib/promisify') const sessionStorageName = `session-store-${sessionStorageVersion}` -const getTopSiteMap = () => { - if (Array.isArray(topSites) && topSites.length) { - let siteMap = {} - let order = 0 - topSites.forEach((site) => { - let key = siteUtil.getSiteKey(Immutable.fromJS(site)) - site.order = order++ - siteMap[key] = site - }) - return siteMap - } - return {} -} - const getStoragePath = () => { return path.join(app.getPath('userData'), sessionStorageName) } @@ -524,7 +510,7 @@ module.exports.defaultAppState = () => { sync: { lastFetchTimestamp: 0 }, - sites: getTopSiteMap(), + sites: {}, tabs: [], windows: [], extensions: {},