From 0d21aa999650b238dac094e360e66d512f0aae34 Mon Sep 17 00:00:00 2001 From: koalasat Date: Thu, 17 Jul 2025 16:33:45 +0200 Subject: [PATCH] Navigate function --- frontend/src/basic/RobotPage/RobotProfile.tsx | 13 ++++++++----- frontend/src/components/Dialogs/NoRobot.tsx | 6 ++++-- frontend/src/components/RobotInfo/index.tsx | 12 +++++++++--- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/frontend/src/basic/RobotPage/RobotProfile.tsx b/frontend/src/basic/RobotPage/RobotProfile.tsx index 3df7bb54..52626ec4 100644 --- a/frontend/src/basic/RobotPage/RobotProfile.tsx +++ b/frontend/src/basic/RobotPage/RobotProfile.tsx @@ -41,7 +41,8 @@ const RobotProfile = ({ setView, width, }: RobotProfileProps): React.JSX.Element => { - const { windowSize, client, setOpen, open } = useContext(AppContext); + const { windowSize, client, setOpen, open, navigateToPage } = + useContext(AppContext); const { garage, slotUpdatedAt } = useContext(GarageContext); const { federation } = useContext(FederationContext); @@ -190,8 +191,9 @@ const RobotProfile = ({