Skip to content

Commit

Permalink
remove uneeded test & todo
Browse files Browse the repository at this point in the history
this test is done at compile time. there's no node_ref field so it can't be set
  • Loading branch information
hamza1311 committed Jul 19, 2022
1 parent 60f44ce commit c1280ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 74 deletions.
2 changes: 0 additions & 2 deletions packages/yew-macro/src/html_tree/html_component.rs
Expand Up @@ -106,8 +106,6 @@ impl ToTokens for HtmlComponent {
Some(quote! { ::yew::html::ChildrenRenderer::new(#children) })
};
let build_props = props.build_properties_tokens(&props_ty, children_renderer);
// todo: this shouldn't exist for components
let _node_ref = props.special().wrap_node_ref_attr();
let key = props.special().wrap_key_attr();
let use_close_tag = close
.as_ref()
Expand Down
72 changes: 0 additions & 72 deletions packages/yew/tests/node_ref.rs

This file was deleted.

0 comments on commit c1280ac

Please sign in to comment.