Skip to content

Commit 86cc3f8

Browse files
author
manuel.carrera
committed
fix: Remove conole
1 parent 1b24e52 commit 86cc3f8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

modules/react/select/lib/Select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const SelectInput = createSubcomponent(TextInput)({
2727
modelHook: useSelectModel,
2828
elemPropsHook: useSelectInput,
2929
})<SelectInputProps>(
30-
({placeholder = 'Choose an Option', inputStartIcon, ...props}, Element, model) => {
30+
({placeholder = 'Choose an Option', inputStartIcon, ...elemProps}, Element, model) => {
3131
return (
3232
<InputGroup>
3333
{inputStartIcon && model.state.selectedIds.length > 0 && (
@@ -39,7 +39,7 @@ export const SelectInput = createSubcomponent(TextInput)({
3939
as={Element}
4040
placeholder={placeholder}
4141
style={{caretColor: 'transparent', cursor: 'default'}}
42-
{...props}
42+
{...elemProps}
4343
></InputGroup.Input>
4444
<InputGroup.InnerEnd position="absolute" pointerEvents="none">
4545
<SystemIcon icon={caretDownSmallIcon} />

modules/react/select/lib/hooks/useSelectModel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export const useSelectModel = createModelHook({
2323
},
2424
contextOverride: useComboboxModel.Context,
2525
})(config => {
26-
console.log(config);
2726
const model = useComboboxModel(config);
2827
return model;
2928
});

0 commit comments

Comments
 (0)