🚨 Fix some clippy warnings

This commit is contained in:
2024-09-08 16:12:33 +02:00
parent 9d95bd4481
commit 27934c7fc9
9 changed files with 47 additions and 58 deletions

View File

@@ -13,13 +13,14 @@ pub struct SpinnerProps {
pub fn Spinner(props: SpinnerProps) -> Element {
rsx! {
style { {STYLE_SHEET} },
style { {STYLE_SHEET} }
div {
class: ClassName::SPINNER,
Icon {
class: if props.animate { "" } else { ClassName::PAUSED },
icon: LogoShape,
}
}