Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Commit 20efab7

Browse files
fix: remove unused imports
1 parent 8eb8f0e commit 20efab7

43 files changed

Lines changed: 43 additions & 43 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/primitives/yew/arrow/src/arrow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use yew::prelude::*;
2-
use yew_struct_component::{Attributes, StructComponent, struct_component};
2+
use yew_struct_component::{Attributes, StructComponent};
33
use yew_style::Style;
44

55
#[derive(PartialEq, Properties)]

packages/primitives/yew/aspect-ratio/src/aspect_ratio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use yew::prelude::*;
2-
use yew_struct_component::{Attributes, StructComponent, struct_component};
2+
use yew_struct_component::{Attributes, StructComponent};
33
use yew_style::Style;
44

55
#[derive(PartialEq, Properties)]

packages/primitives/yew/avatar/src/avatar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use web_sys::{
66
window,
77
};
88
use yew::prelude::*;
9-
use yew_struct_component::{Attributes, StructComponent, struct_component};
9+
use yew_struct_component::{Attributes, StructComponent};
1010
use yew_style::Style;
1111

1212
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]

packages/primitives/yew/checkbox/src/checkbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use radix_yew_use_previous::use_previous;
1010
use radix_yew_use_size::use_size;
1111
use web_sys::wasm_bindgen::{JsCast, closure::Closure};
1212
use yew::prelude::*;
13-
use yew_struct_component::{Attributes, StructComponent, struct_component};
13+
use yew_struct_component::{Attributes, StructComponent};
1414
use yew_style::Style;
1515

1616
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]

packages/primitives/yew/dialog/src/dialog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use radix_yew_presence::{Presence, PresenceChildProps};
77
use radix_yew_primitive::compose_callbacks;
88
use radix_yew_use_controllable_state::{UseControllableStateParams, use_controllable_state};
99
use yew::prelude::*;
10-
use yew_struct_component::{Attributes, StructComponent, struct_component};
10+
use yew_struct_component::{Attributes, StructComponent};
1111
use yew_style::Style;
1212

1313
#[derive(Clone, PartialEq)]

packages/primitives/yew/dismissable-layer/src/dismissable_layer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use web_sys::{
66
window,
77
};
88
use yew::prelude::*;
9-
use yew_struct_component::{Attributes, StructComponent, struct_component};
9+
use yew_struct_component::{Attributes, StructComponent};
1010
use yew_style::Style;
1111

1212
#[expect(unused)]

packages/primitives/yew/focus-scope/src/focus_scope.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use web_sys::{
1212
wasm_bindgen::{JsCast, closure::Closure},
1313
};
1414
use yew::prelude::*;
15-
use yew_struct_component::{Attributes, StructComponent, struct_component};
15+
use yew_struct_component::{Attributes, StructComponent};
1616
use yew_style::Style;
1717

1818
const AUTOFOCUS_ON_MOUNT: &str = "focusScope.autoFocusOnMount";

packages/primitives/yew/label/src/label.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use web_sys::wasm_bindgen::JsCast;
22
use yew::prelude::*;
3-
use yew_struct_component::{Attributes, StructComponent, struct_component};
3+
use yew_struct_component::{Attributes, StructComponent};
44
use yew_style::Style;
55

66
#[derive(PartialEq, Properties)]

packages/primitives/yew/popper/src/popper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use radix_yew_use_size::use_size;
1111
use serde::{Deserialize, Serialize};
1212
use web_sys::{wasm_bindgen::JsCast, window};
1313
use yew::prelude::*;
14-
use yew_struct_component::{Attributes, StructComponent, struct_component};
14+
use yew_struct_component::{Attributes, StructComponent};
1515
use yew_style::Style;
1616

1717
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]

packages/primitives/yew/portal/src/portal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use web_sys::{wasm_bindgen::JsCast, window};
22
use yew::prelude::*;
3-
use yew_struct_component::{Attributes, StructComponent, struct_component};
3+
use yew_struct_component::{Attributes, StructComponent};
44
use yew_style::Style;
55

66
#[derive(PartialEq, Properties)]

0 commit comments

Comments
 (0)