fix custom type

This commit is contained in:
Evan Almloff 2023-01-08 14:04:48 -06:00
parent ecf4ee275a
commit 8adee11fe7

View file

@ -68,7 +68,7 @@ fn impl_derive_macro(ast: &syn::DeriveInput) -> TokenStream {
.map(|field| &field.ty);
let gen = quote! {
impl dioxus_native_core::State for #type_name {
impl dioxus_native_core::State<#custom_type> for #type_name {
fn create_passes() -> Box<[dioxus_native_core::TypeErasedPass<Self>]> {
Box::new([
#(