Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing dependency on inject function
- The missing dependency on the inject function causes the effect to update the store with stale data when the parent store updates - The destruction has been moved to a separate hook, so it continues to run only on component unmount
- Loading branch information