File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
apps/playground-web/src/app/connect/sign-in/components Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,13 @@ export function ColorFormGroup(props: {
6464 < div className = "flex flex-col gap-2 pb-4" >
6565 { colorSection . colors . map ( ( color ) => {
6666 return (
67+ // biome-ignore lint/a11y/noLabelWithoutControl: input is inside the label, so no need to add id
6768 < label
6869 className = "flex cursor-pointer items-center gap-3 rounded-lg p-2 transition-colors hover:bg-secondary"
6970 key = { color . colorId }
70- htmlFor = "color-input"
7171 >
7272 < div className = "rounded-full border" >
7373 < ColorInput
74- id = "color-input"
7574 className = "size-10"
7675 value = { themeObj . colors [ color . colorId ] }
7776 onChange = { ( value ) => {
Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ export function ColorInput(props: {
77 onChange : ( value : string ) => void ;
88 onClick ?: ( ) => void ;
99 className ?: string ;
10- id ?: string ;
1110} ) {
1211 const debouncedOnChange = useDebouncedCallback ( ( value ) => {
1312 props . onChange ( value ) ;
1413 } , 100 ) ;
1514
1615 return (
1716 < input
18- id = { props . id }
1917 onChange = { ( e ) => {
2018 debouncedOnChange ( e . target . value ) ;
2119 } }
You can’t perform that action at this time.
0 commit comments