Skip to content

Commit 9469f6a

Browse files
authored
fix(electron): ui display error when upgrading flat (#1284)
1 parent d4cd479 commit 9469f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/main-app/src/utils/ipc-emit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import runtime from "./runtime";
44
import { constants } from "flat-types";
55
import { CustomWindow, IsMultiInstance } from "../window-manager/abstract";
66

7-
const sendIPC = (customWindow: CustomWindow | null, eventName: string, ...args: any[]): void => {
7+
const sendIPC = (customWindow: CustomWindow | null, eventName: string, args: any): void => {
88
if (customWindow) {
99
customWindow.window.webContents.send(eventName, args);
1010
} else if (runtime.isDevelopment) {

0 commit comments

Comments
 (0)