fix: clippy

This commit is contained in:
Miles Murgaw 2023-07-04 16:56:38 -04:00
parent a75223cd88
commit 4b800af300
1 changed files with 1 additions and 0 deletions

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());