mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix custom type
This commit is contained in:
parent
ecf4ee275a
commit
8adee11fe7
1 changed files with 1 additions and 1 deletions
|
@ -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([
|
||||
#(
|
||||
|
|
Loading…
Reference in a new issue