Skip to content

Commit c02dbd6

Browse files
refactor(select): remove unneeded inline comments
1 parent b9fbc20 commit c02dbd6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/kit-headless/src/components/select/select-inline.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,6 @@ export const Select: FunctionComponent<SelectProps> = (props) => {
8484
}
8585
}
8686

87-
// const isMatch = opts[valuePropIndex].value === props.value;
88-
89-
// if (!isMatch && props.value) {
90-
// const obj = opts[valuePropIndex];
91-
// obj.value = '';
92-
// opts[valuePropIndex] = obj;
93-
// }
9487
return (
9588
<SelectImpl {...rest} _valuePropIndex={valuePropIndex} _options={opts}>
9689
{props.children}

0 commit comments

Comments
 (0)