Merge branch 'main' into dependabot/npm_and_yarn/tanstack-4e0cd3caa5
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
"@types/node": "^26.1.0",
|
||||
"@types/web-bluetooth": "^0.0.21",
|
||||
"base64-js": "^1.5.1",
|
||||
"better-result": "^2.9.2",
|
||||
"better-result": "^2.10.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
@@ -77,7 +77,7 @@
|
||||
"i18next-browser-languagedetector": "^8.2.0",
|
||||
"i18next-http-backend": "^4.0.0",
|
||||
"idb-keyval": "^6.3.0",
|
||||
"immer": "^11.1.11",
|
||||
"immer": "^11.1.15",
|
||||
"js-cookie": "^3.0.8",
|
||||
"lucide-react": "^1.24.0",
|
||||
"maplibre-gl": "5.24.0",
|
||||
@@ -85,7 +85,7 @@
|
||||
"react-dom": "^19.2.7",
|
||||
"react-error-boundary": "^6.1.2",
|
||||
"react-hook-form": "^7.81.0",
|
||||
"react-i18next": "^17.0.9",
|
||||
"react-i18next": "^17.0.10",
|
||||
"react-map-gl": "8.1.1",
|
||||
"react-qrcode-logo": "^4.1.0",
|
||||
"rfc4648": "^1.5.4",
|
||||
@@ -112,10 +112,10 @@
|
||||
"autoprefixer": "^10.5.2",
|
||||
"gzipper": "^8.3.0",
|
||||
"happy-dom": "^20.10.6",
|
||||
"oxfmt": "^0.58.0",
|
||||
"oxfmt": "^0.59.0",
|
||||
"oxlint": "^1.74.0",
|
||||
"tailwind-merge": "^3.6.0",
|
||||
"tailwindcss": "^4.3.2",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tar": "^7.5.20",
|
||||
"testing-library": "^0.0.2",
|
||||
|
||||
@@ -249,7 +249,9 @@ export function useConnections() {
|
||||
// Read from the live store, not the memoized `connections` closure: callers
|
||||
// such as addConnectionAndConnect() add a connection and connect to it in the
|
||||
// same tick, before this hook re-renders, so the closure would be stale.
|
||||
const conn = useDeviceStore.getState().savedConnections.find((c) => c.id === id);
|
||||
const conn = useDeviceStore
|
||||
.getState()
|
||||
.savedConnections.find((c) => c.id === id);
|
||||
if (!conn) {
|
||||
log.warn("connect: unknown connection id", { id });
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user