From 296ce5ce62bcde6888df291f97105fa912ed7d35 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Wed, 26 May 2021 21:05:50 +0530 Subject: Replace 'remote' with 'electron/remote' (#1448) * Locked new version of 'recipes' submodule with corresponding changes. --- src/features/serviceProxy/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/features/serviceProxy') diff --git a/src/features/serviceProxy/index.js b/src/features/serviceProxy/index.js index e78607667..f74f5f0b2 100644 --- a/src/features/serviceProxy/index.js +++ b/src/features/serviceProxy/index.js @@ -1,9 +1,5 @@ import { autorun, observable } from 'mobx'; -import { remote } from 'electron'; - -// import { DEFAULT_FEATURES_CONFIG } from '../../config'; - -const { session } = remote; +import { session } from '@electron/remote'; const debug = require('debug')('Ferdi:feature:serviceProxy'); @@ -16,8 +12,6 @@ export default function init(stores) { debug('Initializing `serviceProxy` feature'); autorun(() => { - // const { isServiceProxyEnabled, isServiceProxyIncludedInCurrentPlan } = stores.features.features; - config.isEnabled = true; config.isIncludedInCurrentPlan = true; -- cgit v1.2.3-54-g00ecf