Skip to content

Commit 696ee1f

Browse files
committed
fix: updater syntax
1 parent 9057922 commit 696ee1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/ReactCache/defineReactCacheLayer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const defineReactCacheLayer = <
8383
useEffect(() => {
8484
return () => {
8585
(async () => {
86-
await updater?.(nodeState)
86+
await updater?.(node, nodeState)
8787
})()
8888
}
8989
}, [nodeState, updater])

0 commit comments

Comments
 (0)