diff --git a/examples/error_handle.rs b/examples/error_handle.rs index 04f6c3761..5c3279940 100644 --- a/examples/error_handle.rs +++ b/examples/error_handle.rs @@ -49,6 +49,7 @@ fn DemoC(x: i32) -> Element { } } +#[component] fn ComponentPanic() -> Element { panic!("This component panics") }