🚨 Fix some clippy warnings
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user