Describe the bug
When using useErrorBoundaries in conjunction with useErrorResetBoundary, reset only works on first attempt.
Subsequent calls to reset fail to throw new errors (which means the error boundary doesn't catch it).
To Reproduce
https://codesandbox.io/s/confident-water-tn8sl
- notice error is caught in boundary
- click on "Try again"
- error is logged to console but no error boundary fallback is displayed
Expected behavior
Clicking on "Try again" should show the error boundary fallback every time.