Skip to content

Commit

Permalink
fix: updater
Browse files Browse the repository at this point in the history
  • Loading branch information
irishcarbomb777 committed May 23, 2024
1 parent 6784a13 commit d6994fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/ReactCache/defineReactCacheLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const defineReactCacheLayer = <
await updater?.(nodeState)
})()
}
}, [nodeState])
}, [nodeState, updater])
return [nodeState, updateNodeState] as any
},
}
Expand Down

0 comments on commit d6994fe

Please sign in to comment.