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/planSelection/containers/PlanSelectionScreen.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/features/planSelection/containers/PlanSelectionScreen.js') diff --git a/src/features/planSelection/containers/PlanSelectionScreen.js b/src/features/planSelection/containers/PlanSelectionScreen.js index e4d85cda5..fba65506e 100644 --- a/src/features/planSelection/containers/PlanSelectionScreen.js +++ b/src/features/planSelection/containers/PlanSelectionScreen.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import { observer, inject } from 'mobx-react'; import PropTypes from 'prop-types'; -import { remote } from 'electron'; +import { dialog, app } from '@electron/remote'; import { defineMessages, intlShape } from 'react-intl'; import FeaturesStore from '../../../stores/FeaturesStore'; @@ -10,8 +10,6 @@ import PlanSelection from '../components/PlanSelection'; import ErrorBoundary from '../../../components/util/ErrorBoundary'; import { planSelectionStore } from '..'; -const { dialog, app } = remote; - const messages = defineMessages({ dialogTitle: { id: 'feature.planSelection.fullscreen.dialog.title', -- cgit v1.2.3-54-g00ecf