From ed4947b2575eb9fdf9e7b5a9e47269f714ecc6a5 Mon Sep 17 00:00:00 2001 From: Shlok Amin Date: Mon, 30 Oct 2023 13:33:27 -0400 Subject: [PATCH] more logs --- app-shell/src/usb.ts | 2 +- app/src/organisms/Devices/RobotOverview.tsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app-shell/src/usb.ts b/app-shell/src/usb.ts index fbde6e34ee8..35c03163335 100644 --- a/app-shell/src/usb.ts +++ b/app-shell/src/usb.ts @@ -162,8 +162,8 @@ export function registerUsb(dispatch: Dispatch): (action: Action) => unknown { console.log('omg usb device REMOVED') if (isUsbDeviceOt3(action.payload.usbDevice)) { console.log('AND its a FLEX!') - destroyUsbHttpAgent() ipcMain.removeHandler('usb:request') + destroyUsbHttpAgent() dispatch(usbRequestsStop()) // handle any additional invocations of usb:request ipcMain.handle('usb:request', () => diff --git a/app/src/organisms/Devices/RobotOverview.tsx b/app/src/organisms/Devices/RobotOverview.tsx index b7ec286ad01..1154409251b 100644 --- a/app/src/organisms/Devices/RobotOverview.tsx +++ b/app/src/organisms/Devices/RobotOverview.tsx @@ -84,6 +84,9 @@ export function RobotOverview({ agentId: userId, }) + console.log('HITTING ROBOT INFO') + console.log({ robot }) + return robot != null ? ( <>