From 05f450ac7bfcf4ee4f4736634f5efb82234e2722 Mon Sep 17 00:00:00 2001 From: Koji Date: Thu, 9 Jun 2022 17:02:17 -0400 Subject: [PATCH] fix(app): temporary redirect to devices page Avoid the issue that is in #10709 --- .../AdvancedTabSlideouts/RenameRobotSlideout.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/organisms/Devices/RobotSettings/AdvancedTab/AdvancedTabSlideouts/RenameRobotSlideout.tsx b/app/src/organisms/Devices/RobotSettings/AdvancedTab/AdvancedTabSlideouts/RenameRobotSlideout.tsx index d8face7acbc..2f78a9ea56d 100644 --- a/app/src/organisms/Devices/RobotSettings/AdvancedTab/AdvancedTabSlideouts/RenameRobotSlideout.tsx +++ b/app/src/organisms/Devices/RobotSettings/AdvancedTab/AdvancedTabSlideouts/RenameRobotSlideout.tsx @@ -73,9 +73,9 @@ export function RenameRobotSlideout({ // remove the previous robot name from the list dispatch(removeRobot(previousRobotName)) // data.name != null && history.push(`/devices/${data.name}/robot-settings`) - // TODO kj: this is a temporary fix to avoid Download logs button disabled issue - // Once fix react tree rendering issue, the push direction will be switched to robot-settings - data.name != null && history.push(`/devices/${data.name}`) + // TODO 6/9/2022 kj this is a temporary fix to avoid the issue + // https://github.com/Opentrons/opentrons/issues/10709 + data.name != null && history.push(`/devices`) }, onError: (error: Error) => { // TODO kj 5/25/2022: when a user lost connection while the user is renaming a robot,