feat: rm set robot global state

This commit is contained in:
Rohit
2025-02-01 11:32:57 +05:30
parent fa36e5282f
commit 1f0c5885c1

View File

@@ -55,7 +55,8 @@ interface RobotSettingsProps {
export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSettings }: RobotSettingsProps) => {
const { t } = useTranslation();
const [userEmail, setUserEmail] = useState<string | null>(null);
const { recordingId, notify, robot, setRobot } = useGlobalInfoStore();
const [robot, setRobot] = useState<RobotSettings | null>(null);
const { recordingId, notify } = useGlobalInfoStore();
useEffect(() => {
if (isOpen) {