Closed OnerInce closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Is this issue still important to you? If so, please leave a comment and let us know. As always, thank you for your contributions.
Describe the bug
ErrorBoundary View Customization Not Working. As described in the docs, error attribute should be used as an custom error message IF an error occurred. However, whenever error attribute is set, error message is shown regardless whether there is an error
Tryting to provide a custom view using
<ErrorBoundary view={ErrorView}>
yields the same result as well.
To Reproduce
Use ErrorBoundary component with the error attribute.
<ErrorBoundary error='custom-error-message'> ...... </ErrorBoundary>
Expected behavior Having a custom error message IF an error happens.