Skip to content

Commit bb5fe97

Browse files
committed
does this fix the issue? no perf diff
1 parent fd0d1a6 commit bb5fe97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/router-core/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function replaceEqualDeep<T>(prev: any, _next: T): T {
231231
const key = array ? i : (nextItems[i] as any)
232232
const p = prev[key]
233233
if (
234-
(array || Object.prototype.hasOwnProperty.call(prev, key)) &&
234+
(array || prev.hasOwnProperty(key)) &&
235235
p === undefined &&
236236
next[key] === undefined
237237
) {

0 commit comments

Comments
 (0)