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/helpers/recipe-helpers.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/helpers/recipe-helpers.js') diff --git a/src/helpers/recipe-helpers.js b/src/helpers/recipe-helpers.js index a31c29e72..7daa0aaab 100644 --- a/src/helpers/recipe-helpers.js +++ b/src/helpers/recipe-helpers.js @@ -1,9 +1,5 @@ import path from 'path'; -import { remote } from 'electron'; - -// import ServiceModel from '../models/Service'; - -const { app } = remote; +import { app } from '@electron/remote'; export function getRecipeDirectory(id = '') { return path.join(app.getPath('userData'), 'recipes', id); -- cgit v1.2.3-70-g09d2