Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect: Update use fixers query error prop handling (#39498)
* Update FixerStatus type to account for potential error props * changelog * Handle error responses * Only handle top level errors in useFixersQuery, threat level errors are handled in the completion block * Add clarifying comment * Improve fixer types * Fix prop handling * Update useFixers hook for compatibility with type updates * Remove optional chaining where applicable, update logic to rely on TS types * Update types * Fix type error --------- Co-authored-by: Nate Weller <[email protected]> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11149548910 Upstream-Ref: Automattic/jetpack@fdcd55e
- Loading branch information