diff --git a/README.md b/README.md index 34a5e20c..04706a20 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,7 @@ TODO: add how to get started with local SonarCube for Deskreen in details. - `package.json` -- in `version` key ex. `1.0.0` - `app/package.json` -- in `version` key ex. `1.0.0` - `app/package-lock.json` -- in `version` key ex. `1.0.0` + - `app/client/package.json` -- in `version` key ex. `1.0.0` ## Found typo on https://deskreen.com ? diff --git a/app/client/package.json b/app/client/package.json index 9fdeecd2..69e23960 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -1,6 +1,6 @@ { "name": "deskreen-client-viewer", - "version": "0.1.0", + "version": "2.0.1", "private": true, "dependencies": { "@blueprintjs/core": "^3.35.0", diff --git a/app/components/ConnectedDevicesListDrawer.tsx b/app/components/ConnectedDevicesListDrawer.tsx index 06cbbbde..a248ccda 100644 --- a/app/components/ConnectedDevicesListDrawer.tsx +++ b/app/components/ConnectedDevicesListDrawer.tsx @@ -139,6 +139,9 @@ export default function ConnectedDevicesListDrawer( setTimeout(() => { newDevicesDisplayed.delete(id); setDevicesDisplayed(newDevicesDisplayed); + setConnectedDevices( + connectedDevices.filter((device) => device.id !== id) + ); }, ANIMATION_DURATION); }, [devicesDisplayed, setDevicesDisplayed] diff --git a/app/package-lock.json b/app/package-lock.json index 17465089..00f69581 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,5 +1,5 @@ { "name": "Deskreen", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 1 } diff --git a/app/package.json b/app/package.json index c99aea3b..70611499 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "deskreen", "productName": "Deskreen", - "version": "2.0.0", + "version": "2.0.1", "description": "Deskreen turns any device into a secondary screen for your computer", "main": "./main.prod.js", "author": { diff --git a/package.json b/package.json index 9afb26dc..8d5d81d5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "deskreen", "productName": "Deskreen", - "version": "2.0.0", + "version": "2.0.1", "description": "Deskreen turns any device into a secondary screen for your computer", "scripts": { "build": "yarn build-client && yarn build-main && yarn build-renderer", @@ -330,7 +330,7 @@ "classnames": "^2.2.6", "clsx": "^1.1.1", "connected-react-router": "^6.6.1", - "electron": "18.2.3", + "electron": "19.0.0", "electron-debug": "^3.1.0", "electron-log": "^4.2.2", "electron-settings": "^4.0.2", diff --git a/yarn.lock b/yarn.lock index 7e160d6f..655cbec0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1159,7 +1159,7 @@ ajv "^6.12.0" ajv-keywords "^3.4.1" -"@electron/get@^1.13.0": +"@electron/get@^1.14.1": version "1.14.1" resolved "https://registry.yarnpkg.com/@electron/get/-/get-1.14.1.tgz#16ba75f02dffb74c23965e72d617adc721d27f40" integrity sha512-BrZYyL/6m0ZXz/lDxy/nlVhQz+WF+iPS6qXolEU8atw7h6v1aYkjwJZ63m+bJMBTxDE66X+r2tPS4a/8C82sZw== @@ -2136,9 +2136,9 @@ integrity sha512-vwX+/ija9xKc/z9VqMCdbf4WYcMTGsI0I/L/6shIF3qXURxZOhPQlPRHtjTpiNhAwn0paMJzlOQqw6mAGEQnTA== "@types/node@^16.11.26": - version "16.11.36" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.36.tgz#9ab9f8276987132ed2b225cace2218ba794fc751" - integrity sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA== + version "16.11.38" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.38.tgz#be0edd097b23eace6c471c525a74b3f98803017f" + integrity sha512-hjO/0K140An3GWDw2HJfq7gko3wWeznbjXgg+rzPdVzhe198hp4x2i1dgveAOEiFKd8sOilAxzoSJiVv5P/CUg== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -5937,12 +5937,12 @@ electron-updater@^4.3.1: lodash.isequal "^4.5.0" semver "^7.3.2" -electron@18.2.3: - version "18.2.3" - resolved "https://registry.yarnpkg.com/electron/-/electron-18.2.3.tgz#36bcb8f71e41631e6b11179eeff291c8228bfd6a" - integrity sha512-DJWX03hCRKTscsfXxmW4gmgFuseop+g+m4ml7NfOMfankD8uYyr2Xyi3Ui02inL9qZOlbLMeLVCu6jKCKs8p/w== +electron@19.0.0: + version "19.0.0" + resolved "https://registry.yarnpkg.com/electron/-/electron-19.0.0.tgz#f6b742b708ec118676ba3b38d0f3712d8f0311cf" + integrity sha512-VXwqLQxuIUr0SI8vOYDj5OLPwtKa/trn5DVKd/BFGT/U/IerfVoSZuydGLOjSL5yJlckfmKQpiq+8PW4gI8hXA== dependencies: - "@electron/get" "^1.13.0" + "@electron/get" "^1.14.1" "@types/node" "^16.11.26" extract-zip "^1.0.3"