Remove console.log
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
4c92f581c4
commit
ebe4f9373b
1 changed files with 1 additions and 4 deletions
|
@ -63,10 +63,7 @@ const FilterField: StreamfieldComponent<IFilterField> = ({ value, onChange }) =>
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
|
|
||||||
const handleChange = (key: string): React.ChangeEventHandler<HTMLInputElement> =>
|
const handleChange = (key: string): React.ChangeEventHandler<HTMLInputElement> =>
|
||||||
e => {
|
e => onChange({ ...value, [key]: e.currentTarget[e.currentTarget.type === 'checkbox' ? 'checked' : 'value'] });
|
||||||
// console.log({ ...value, [key]: e.currentTarget[e.currentTarget.type === 'checkbox' ? 'checked' : 'value'] });
|
|
||||||
onChange({ ...value, [key]: e.currentTarget[e.currentTarget.type === 'checkbox' ? 'checked' : 'value'] });
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HStack space={2} grow>
|
<HStack space={2} grow>
|
||||||
|
|
Loading…
Reference in a new issue