diff --git a/tests/vlist_test.rs b/tests/vlist_test.rs index 015cc0262..2e37ce5ef 100644 --- a/tests/vlist_test.rs +++ b/tests/vlist_test.rs @@ -13,7 +13,7 @@ impl Component for Comp { type Msg = (); type Properties = (); - fn create(_: &mut Env) -> Self { + fn create(_: Self::Properties, _: &mut Env) -> Self { Comp } diff --git a/tests/vtag_test.rs b/tests/vtag_test.rs index 4fc1c20c2..ae01427f4 100644 --- a/tests/vtag_test.rs +++ b/tests/vtag_test.rs @@ -12,7 +12,7 @@ impl Component for Comp { type Msg = (); type Properties = (); - fn create(_: &mut Env) -> Self { + fn create(_: Self::Properties, _: &mut Env) -> Self { Comp }