Skip to content

Commit 9c63fdd

Browse files
committed
Reverts #606 as it causes views to lose their expansion state
1 parent 4790293 commit 9c63fdd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/views/nodes/viewNode.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ export interface ViewNode {
5151
readonly id?: string;
5252
}
5353

54-
let counter = 0;
54+
const counter = 0;
5555
function getViewNodeInstanceId() {
56-
if (counter === Number.MAX_SAFE_INTEGER) {
57-
counter = 0;
58-
}
59-
counter++;
56+
// if (counter === Number.MAX_SAFE_INTEGER) {
57+
// counter = 0;
58+
// }
59+
// counter++;
6060
return counter;
6161
}
6262

0 commit comments

Comments
 (0)