mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 21:13:32 +00:00
Switch electron.remote to @electron/remote.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import type {ContextMenuParams} from "electron";
|
||||
import {remote} from "electron";
|
||||
|
||||
import {Menu, clipboard} from "@electron/remote";
|
||||
|
||||
import * as t from "../../../common/translation-util";
|
||||
|
||||
const {clipboard, Menu} = remote;
|
||||
|
||||
export const contextMenu = (
|
||||
webContents: Electron.WebContents,
|
||||
event: Event,
|
||||
|
||||
Reference in New Issue
Block a user