Skip to content

Commit

Permalink
feat(version): release 0.24.7 version
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Dec 20, 2023
1 parent 47a4b25 commit 4ab5b1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="https://img.shields.io/badge/nodejs-18.18.2-dgreen" alt="node">
</a>
<a href="https://github.com/robolaunch/ui/releases">
<img src="https://img.shields.io/badge/release-v0.24.6-red" alt="release">
<img src="https://img.shields.io/badge/release-v0.24.7-red" alt="release">
</a>
<a href="#">
<img src="https://img.shields.io/badge/language-typescript-blue" alt="language">
Expand Down
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.6",
"version": "0.24.7",
"private": true,
"scripts": {
"dev": "react-scripts start",
Expand Down
12 changes: 4 additions & 8 deletions src/contexts/RobotContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,8 @@ export default ({ children }: any) => {
// VDI Test Connection
useEffect(() => {
const vdiClient =
responseRobot?.vdiIngressEndpoint &&
isRobotReady &&
isSettedCookie &&
isVDIConnected === null
? new WebSocket(
responseRobot?.vdiIngressEndpoint + "ws?password=admin" || "",
)
isSettedCookie && isVDIConnected === null
? new WebSocket(responseRobot?.vdiIngressEndpoint + "ws?password=admin")
: null;

vdiClient?.addEventListener("open", () => {
Expand All @@ -279,7 +274,8 @@ export default ({ children }: any) => {
return () => {
vdiClient?.close();
};
}, [isRobotReady, isSettedCookie, isVDIConnected, responseRobot]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isSettedCookie, isVDIConnected]);
// VDI Test Connection

function handleGetOrganization() {
Expand Down

0 comments on commit 4ab5b1d

Please sign in to comment.