diff --git a/doc/reference/error_handling.md b/doc/reference/error_handling.md index 964a0353..b51fc51d 100644 --- a/doc/reference/error_handling.md +++ b/doc/reference/error_handling.md @@ -51,8 +51,8 @@ that render its content, and a fallback if an error happened. ```js class ErrorBoundary extends Component { static template = xml` - An error occurred - An error occurred + `; setup() { this.state = useState({ error: false });