diff options
Diffstat (limited to 'src/webview/recipe.ts')
-rw-r--r-- | src/webview/recipe.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/recipe.ts b/src/webview/recipe.ts index b3a4a6b56..dc3f39401 100644 --- a/src/webview/recipe.ts +++ b/src/webview/recipe.ts | |||
@@ -1,11 +1,11 @@ | |||
1 | /* eslint-disable global-require */ | 1 | /* eslint-disable global-require */ |
2 | /* eslint-disable import/no-dynamic-require */ | 2 | /* eslint-disable import/no-dynamic-require */ |
3 | /* eslint-disable import/first */ | 3 | /* eslint-disable import/first */ |
4 | import { noop, debounce } from 'lodash'; | ||
4 | import { contextBridge, ipcRenderer } from 'electron'; | 5 | import { contextBridge, ipcRenderer } from 'electron'; |
5 | import { join } from 'path'; | 6 | import { join } from 'path'; |
6 | import { autorun, computed, makeObservable, observable } from 'mobx'; | 7 | import { autorun, computed, makeObservable, observable } from 'mobx'; |
7 | import { pathExistsSync, readFileSync } from 'fs-extra'; | 8 | import { pathExistsSync, readFileSync } from 'fs-extra'; |
8 | import { debounce } from 'lodash'; | ||
9 | import { | 9 | import { |
10 | disable as disableDarkMode, | 10 | disable as disableDarkMode, |
11 | enable as enableDarkMode, | 11 | enable as enableDarkMode, |
@@ -53,7 +53,7 @@ import Service from '../models/Service'; | |||
53 | // As the message API is not actually needed, we'll add this shim sendMessage | 53 | // As the message API is not actually needed, we'll add this shim sendMessage |
54 | // function in order for darkreader to continue working | 54 | // function in order for darkreader to continue working |
55 | // @ts-ignore | 55 | // @ts-ignore |
56 | window.chrome.runtime.sendMessage = () => {}; | 56 | window.chrome.runtime.sendMessage = noop; |
57 | 57 | ||
58 | const debug = require('../preload-safe-debug')('Ferdium:Plugin'); | 58 | const debug = require('../preload-safe-debug')('Ferdium:Plugin'); |
59 | 59 | ||