diff --git a/leptos_macro/src/lib.rs b/leptos_macro/src/lib.rs index b92d6953c9..e732fe605c 100644 --- a/leptos_macro/src/lib.rs +++ b/leptos_macro/src/lib.rs @@ -639,7 +639,7 @@ pub fn island(args: proc_macro::TokenStream, s: TokenStream) -> TokenStream { abort!( transparent, "only `transparent` is supported"; - help = "try `#[component(transparent)]` or `#[component]`" + help = "try `#[island(transparent)]` or `#[island]`" ); }