Skip to content

Commit

Permalink
update(linter): fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Mar 27, 2024
1 parent 4ed7ae8 commit af2b88b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kit/src/components/swatch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ pub fn ColorSwatch<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {

cx.render(rsx!(div {
class: "color-swatch {active}",
aria_label: "color-swatch-button-rgb-{cx.props.color.0}-{cx.props.color.1}-{cx.props.color.2}",
aria_label:
"color-swatch-button-rgb-{cx.props.color.0}-{cx.props.color.1}-{cx.props.color.2}",
style: "background-color: rgb({cx.props.color.0}, {cx.props.color.1}, {cx.props.color.2})",
onclick: |_| cx.props.onpress.call(()),
}))
Expand Down

0 comments on commit af2b88b

Please sign in to comment.