diff --git a/frontend/apps/electron/src/preload.ts b/frontend/apps/electron/src/preload.ts index b6e83ce39b..4e853eeed3 100644 --- a/frontend/apps/electron/src/preload.ts +++ b/frontend/apps/electron/src/preload.ts @@ -7,21 +7,18 @@ process.once('loaded', async () => { ipcRenderer.addListener('initWindow', (info, event) => { // const {route, windowId} = event - console.log('INIT WINDOW', event) + // console.log('INIT WINDOW', event) contextBridge.exposeInMainWorld('windowInfo', event) }) contextBridge.exposeInMainWorld('ipc', { send: (cmd, args) => { - console.log('IPC SENDING', cmd, args) ipcRenderer.send(cmd, args) }, listen: async (cmd: string, handler: (event: any) => void) => { const innerHandler = (value: any) => { - console.log('IPC event received', cmd, value) handler(value) } - console.log('listening!', cmd) ipcRenderer.addListener(cmd, innerHandler) return () => { ipcRenderer.removeListener(cmd, innerHandler) diff --git a/frontend/packages/app/src/components/footer.tsx b/frontend/packages/app/src/components/footer.tsx index 339e136128..10ed46dba5 100644 --- a/frontend/packages/app/src/components/footer.tsx +++ b/frontend/packages/app/src/components/footer.tsx @@ -50,10 +50,10 @@ function FooterContactsButton() { - ) -} - -export default function ConnectionsPage() { - const contacts = useAllAccounts() - const accounts = contacts.data?.accounts || [] - let content = contacts.isLoading ? ( - - ) : accounts.length > 0 ? ( - accounts.map((account) => { - return - }) - ) : ( - - - You have no Connections yet. - - - ) - return ( - <> - - - - {content} - - - -