Skip to content

Commit 48cf034

Browse files
committed
perf: avoid duplicate entries:updated calls
1 parent a79f0dc commit 48cf034

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/unhead/src/createHead.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ export function createHeadCore<T extends {} = Head>(options: CreateHeadOptions =
9191
return {
9292
dispose() {
9393
entries = entries.filter(e => e._i !== entry._i)
94-
hooks.callHook('entries:updated', head)
9594
updated()
9695
},
9796
// a patch is the same as creating a new entry, just a nice DX

0 commit comments

Comments
 (0)