diff --git a/client/src/features/menu/MenuBar.jsx b/client/src/features/menu/MenuBar.jsx index 2ed4e2c2d..1d6bf0737 100644 --- a/client/src/features/menu/MenuBar.jsx +++ b/client/src/features/menu/MenuBar.jsx @@ -44,6 +44,9 @@ export default function MenuBar(props) { }; const handleIPC = (action) => { + // Stop crashes when testing locally + if (window.process?.type === undefined) return; + if (window.process.type === 'renderer') { switch (action) { case 'min':