Skip to content

Commit

Permalink
feat(version): release 0.24.9 version
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Dec 20, 2023
1 parent fff6d96 commit d852da1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.24.8",
"version": "0.24.9",
"private": true,
"scripts": {
"dev": "react-scripts start",
Expand Down
6 changes: 3 additions & 3 deletions src/contexts/RobotContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ export default ({ children }: any) => {
// ROS Bridge Connector
useEffect(() => {
const rosClient: ROSLIB.Ros | null =
!envApplication &&
isSettedCookie &&
responseRobot?.bridgeIngressEndpoint?.split("://")[0] === "wss" &&
!envApplication
responseRobot?.bridgeIngressEndpoint?.split("://")[0] === "wss"
? new ROSLIB.Ros({
url: responseRobot?.bridgeIngressEndpoint,
})
Expand All @@ -206,7 +206,7 @@ export default ({ children }: any) => {
rosClient?.close();
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [responseRobot, isSettedCookie]);
}, [isSettedCookie]);
// ROS Bridge Connector

// ROS Topic Setter
Expand Down

0 comments on commit d852da1

Please sign in to comment.