Skip to content

Commit c5dc4a6

Browse files
committed
fix: fixed outdated macro reference in compile error
1 parent fb8563a commit c5dc4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/perseus-macro/src/auto_scope.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl Parse for TemplateFn {
7979
// a capsule
8080
// Any other kind of template doesn't need this macro
8181
if args.len() != 2 && args.len() != 3 {
82-
return Err(syn::Error::new_spanned(&sig.inputs, "`#[template]` is only useful if you're using reactive state (which requires two arguments)"));
82+
return Err(syn::Error::new_spanned(&sig.inputs, "`#[auto_scope]` is only useful if you're using reactive state (which requires two arguments)"));
8383
}
8484

8585
Ok(Self {

0 commit comments

Comments
 (0)