-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(react-query): remove redundant setIsRestoring(true)
to fix lint warning
#8213
fix(react-query): remove redundant setIsRestoring(true)
to fix lint warning
#8213
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 2f3bfd6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8213 +/- ##
============================================
+ Coverage 45.41% 100.00% +54.58%
============================================
Files 200 1 -199
Lines 7456 17 -7439
Branches 1696 2 -1694
============================================
- Hits 3386 17 -3369
+ Misses 3694 0 -3694
+ Partials 376 0 -376
|
Since
isRestoring
's initial value istrue
, I think we can remove thissetIsRestoring(true)
that is warning not to use it directly in auseEffect
.