Skip to content

Commit

Permalink
Optimizing LegacyConnection.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Nov 30, 2024
1 parent 3f04ffc commit 309a940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-react-v5/src/LegacyConnection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ export class LegacyConnection {
ids,
(err: string | null, states: Record<string, ioBroker.State>) => {
if (err) {
err && console.error(`Cannot getForeignStates "${id}": ${JSON.stringify(err)}`);
console.error(`Cannot getForeignStates "${id}": ${JSON.stringify(err)}`);
reject(new Error(err));
} else {
if (states) {
Expand Down

0 comments on commit 309a940

Please sign in to comment.