Skip to content

Commit ca6e90a

Browse files
committed
refactor: remove unnecessary update; it is already done above
1 parent 1f3c3ec commit ca6e90a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Tree.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ export const createTreeComputer = <
220220

221221
if (typeof value === 'string' || typeof value === 'symbol') {
222222
id = value;
223-
224-
if (records[id as string]) {
225-
updateRecordOnWalk(records[id as string]!, options);
226-
}
227223
} else {
228224
({id} = value);
229225
const record = records[id as string];

0 commit comments

Comments
 (0)