Skip to content

Commit fac1920

Browse files
committed
fix lint
1 parent 160e9a0 commit fac1920

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/@react-spectrum/s2/src/ComboBox.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,8 @@ export let listboxItem = style({
169169
},
170170
paddingBottom: '--labelPadding',
171171
backgroundColor: { // TODO: revisit color when I have access to dev mode again
172-
default: {
173-
default: 'transparent',
174-
isFocused: baseColor('gray-100').isFocusVisible
175-
}
172+
default: 'transparent',
173+
isFocused: baseColor('gray-100').isFocusVisible
176174
},
177175
color: {
178176
default: 'neutral',
@@ -242,7 +240,7 @@ export let listboxHeading = style({
242240
// not sure why edgeToText won't work...
243241
const separatorWrapper = style({
244242
display: {
245-
':is(:last-child > &)': 'none',
243+
':is(:last-child > *)': 'none',
246244
default: 'flex'
247245
},
248246
// A workaround since edgeToText() returns undefined for some reason

0 commit comments

Comments
 (0)