We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 145293c commit 334f740Copy full SHA for 334f740
1 file changed
packages/components/src/ui/region-select.tsx
@@ -127,7 +127,6 @@ export function RegionSelect({
127
{filtered.length === 0 && <li className="px-3 py-2 text-sm text-gray-500">No results.</li>}
128
{filtered.map((option) => {
129
const isSelected = option.value === value;
130
- const isEnterCandidate = enterCandidate?.value === option.value && !isSelected;
131
return (
132
<li key={option.value} className="list-none">
133
<button
@@ -142,7 +141,6 @@ export function RegionSelect({
142
141
'w-full text-left cursor-pointer select-none py-3 px-3 transition-colors duration-150 flex items-center gap-2 rounded',
143
'text-gray-900',
144
isSelected ? 'bg-gray-100' : 'hover:bg-gray-100',
145
- !isSelected && isEnterCandidate && 'bg-gray-50',
146
itemClassName
147
)}
148
>
0 commit comments