fix: clippy
This commit is contained in:
1 parent
a75223cd88
commit
4b800af300
1 file changed
+1
@@ -53,6 +53,7 @@ struct AppProps {
|
|||||||
count: i32,
|
count: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
fn app(cx: Scope<AppProps>) -> Element {
|
fn app(cx: Scope<AppProps>) -> Element {
|
||||||
let mut count = use_state(cx, || cx.props.count);
|
let mut count = use_state(cx, || cx.props.count);
|
||||||
let text = use_state(cx, || "...".to_string());
|
let text = use_state(cx, || "...".to_string());
|
||||||
|
|||||||
Reference in new issue
Block a user