diff --git a/src/components/robot/RobotSettings.tsx b/src/components/robot/RobotSettings.tsx index 59b959b8..6ae59f89 100644 --- a/src/components/robot/RobotSettings.tsx +++ b/src/components/robot/RobotSettings.tsx @@ -55,7 +55,8 @@ interface RobotSettingsProps { export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSettings }: RobotSettingsProps) => { const { t } = useTranslation(); const [userEmail, setUserEmail] = useState(null); - const { recordingId, notify, robot, setRobot } = useGlobalInfoStore(); + const [robot, setRobot] = useState(null); + const { recordingId, notify } = useGlobalInfoStore(); useEffect(() => { if (isOpen) {