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/containers/settings/RecipesScreen.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/containers/settings') diff --git a/src/containers/settings/RecipesScreen.js b/src/containers/settings/RecipesScreen.js index 40e32ff37..74abcacee 100644 --- a/src/containers/settings/RecipesScreen.js +++ b/src/containers/settings/RecipesScreen.js @@ -1,4 +1,5 @@ -import { remote, shell } from 'electron'; +import { shell } from 'electron'; +import { app } from '@electron/remote'; import fs from 'fs-extra'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; @@ -17,8 +18,6 @@ import { FRANZ_DEV_DOCS, RECIPES_PATH } from '../../config'; import { communityRecipesStore } from '../../features/communityRecipes'; import RecipePreview from '../../models/RecipePreview'; -const { app } = remote; - export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { static propTypes = { params: PropTypes.shape({ -- cgit v1.2.3-70-g09d2