fix: clippy

This commit is contained in:
Miles Murgaw committed 2023-07-04 16:56:38 -04:00
1 parent a75223cd88
commit 4b800af300
1 file changed
+1
+1
View File
@@ -53,6 +53,7 @@ struct AppProps {
count: i32,
}
#[allow(unused)]
fn app(cx: Scope<AppProps>) -> Element {
let mut count = use_state(cx, || cx.props.count);
let text = use_state(cx, || "...".to_string());