Skip to content

Commit

Permalink
docs: fix help message for island macro (#3287)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi authored Nov 24, 2024
1 parent 4f39b0b commit 2dfa61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leptos_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]`"
);
}

Expand Down

0 comments on commit 2dfa61f

Please sign in to comment.