Skip to content

Commit

Permalink
Add clone to Attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleHuisman committed Aug 18, 2024
1 parent 2c0b076 commit 6c3a3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew-attrs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub use yew_attrs_macro::attrs;
use yew::virtual_dom::{Attributes, Listeners};

/// Container for dynamic attributes and listeners.
#[derive(Debug, Default, PartialEq)]
#[derive(Clone, Debug, Default, PartialEq)]
pub struct Attrs {
/// Dynamic attributes.
pub attributes: Attributes,
Expand Down

0 comments on commit 6c3a3de

Please sign in to comment.