diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-26 21:05:50 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 21:05:50 +0530 |
commit | 296ce5ce62bcde6888df291f97105fa912ed7d35 (patch) | |
tree | b28e7d2373f1020c1183469aa3a9feafecede569 /src/containers/settings | |
parent | Added new entry in context menu: 'Download image' (#1449) (diff) | |
download | ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.tar.gz ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.tar.zst ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.zip |
Replace 'remote' with 'electron/remote' (#1448)
* Locked new version of 'recipes' submodule with corresponding changes.
Diffstat (limited to 'src/containers/settings')
-rw-r--r-- | src/containers/settings/RecipesScreen.js | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
1 | import { remote, shell } from 'electron'; | 1 | import { shell } from 'electron'; |
2 | import { app } from '@electron/remote'; | ||
2 | import fs from 'fs-extra'; | 3 | import fs from 'fs-extra'; |
3 | import React, { Component } from 'react'; | 4 | import React, { Component } from 'react'; |
4 | import PropTypes from 'prop-types'; | 5 | import PropTypes from 'prop-types'; |
@@ -17,8 +18,6 @@ import { FRANZ_DEV_DOCS, RECIPES_PATH } from '../../config'; | |||
17 | import { communityRecipesStore } from '../../features/communityRecipes'; | 18 | import { communityRecipesStore } from '../../features/communityRecipes'; |
18 | import RecipePreview from '../../models/RecipePreview'; | 19 | import RecipePreview from '../../models/RecipePreview'; |
19 | 20 | ||
20 | const { app } = remote; | ||
21 | |||
22 | export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { | 21 | export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { |
23 | static propTypes = { | 22 | static propTypes = { |
24 | params: PropTypes.shape({ | 23 | params: PropTypes.shape({ |