Add missing derive Element

Nate Butler and Marshall Bowers created

Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Change summary

crates/ui2/src/components/notification.rs               | 1 +
crates/ui2/src/components/notification_project_share.rs | 0 
2 files changed, 1 insertion(+)

Detailed changes

crates/ui2/src/components/notification.rs 🔗

@@ -10,6 +10,7 @@ use crate::{
 /// that requires them to take action.
 ///
 /// To simply convey information, use a Status.
+#[derive(Element)]
 pub struct NotificationToast<S: 'static + Send + Sync + Clone> {
     state_type: PhantomData<S>,
     left_icon: Option<Icon>,