infinum / datx

DatX is an opinionated JS/TS data store. It features support for simple property definition, references to other models and first-class TypeScript support.
https://datx.dev
MIT License
140 stars 7 forks source link

Fix use mutation deps #1190

Closed kristian240 closed 1 year ago

kristian240 commented 1 year ago

Fixes #1174

Please select all that apply:

Please describe the differences between the current and new behavior

The useCallback was missing deps array in useMutation. I also added the eslint so this does not happen again 😅

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication