fix formatting

This commit is contained in:
Evan Almloff committed 2023-08-28 15:49:46 -05:00
1 parent 62556b2c34
commit bd387d601c
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -330,7 +330,9 @@ impl HtmlEventConverter for WebEventConverter {
fn convert_mounted_data(&self, event: &dioxus_html::PlatformEventData) -> MountedData {
#[cfg(feature = "mounted")]
{MountedData::from(downcast_event(event).element.clone())}
{
MountedData::from(downcast_event(event).element.clone())
}
#[cfg(not(feature = "mounted"))]
{
panic!("mounted events are not supported without the mounted feature on the dioxus-web crate enabled")