diff --git a/src/App.tsx b/src/App.tsx index cd0bf27..d93feee 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -124,7 +124,9 @@ const App: React.FC = () => { storage.setItem('reconnect', true) }) window.electron.onUpdate((_e: any, data: any) => { - updateModalRef.current.changeModal(data) + if (location.hash.indexOf('/meeting') !== -1) { + updateModalRef.current.changeModal(data) + } }) if (!storage.getItem('setting')) { storage.setItem('setting', JSON.stringify({