diff --git a/packages/html/src/transit.rs b/packages/html/src/transit.rs
index 5c978c4f32..253c7a24ac 100644
--- a/packages/html/src/transit.rs
+++ b/packages/html/src/transit.rs
@@ -68,7 +68,7 @@ impl HtmlEvent {
}
}
-#[derive(Deserialize, Serialize, Debug, PartialEq)]
+#[derive(Serialize, Debug, PartialEq)]
#[serde(untagged)]
#[non_exhaustive]
pub enum EventData {