Skip to content

Commit

Permalink
feat(version): release 0.25.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Dec 20, 2023
1 parent d852da1 commit f6ba4e2
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.9",
"version": "0.25.0",
"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 @@ -191,13 +191,13 @@ export default ({ children }: any) => {

setRos(ros);

ros?.on("connection", function () {
rosClient?.on("connection", function () {
isRosConnected === null && setIsRosConnected(true);
});
ros?.on("error", function (error) {
rosClient?.on("error", function (error) {
isRosConnected === null && setIsRosConnected(false);
});
ros?.on("close", function () {
rosClient?.on("close", function () {
isRosConnected === null && setIsRosConnected(false);
});

Expand Down

0 comments on commit f6ba4e2

Please sign in to comment.