feat: massage lifetimes

This commit is contained in:
Jonathan Kelley committed 2021-10-16 17:37:28 -04:00
1 parent 16dbf4a6f8
commit 9726a065b0
92 files changed
+250 -241

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@ fn main() {
use dioxus::prelude::*;
static App: FC<()> = |cx, props| {
static App: FC<()> = |(cx, props)| {
let p1 = use_state(cx, || 0);
let p2 = use_state(cx, || 0);
@@ -59,7 +59,7 @@ struct HorseyProps {
pos: i32,
}
static Horsey: FC<HorseyProps> = |cx, props| {
static Horsey: FC<HorseyProps> = |(cx, props)| {
cx.render(rsx! {
div {
button { "pause" }