Skip to content

Commit

Permalink
TASK: remove unsused args in some handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAlias committed Dec 5, 2018
1 parent 0f55b5f commit 3e7d19a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-ui-components/src/DateInput/dateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class DateInput extends PureComponent<DateInputProps, DateInputState> {
);
}

private readonly handleClick = (event: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLDivElement>) => {
private readonly handleClick = () => {
if (!this.props.disabled) {
this.toggle();
}
Expand All @@ -244,7 +244,7 @@ export class DateInput extends PureComponent<DateInputProps, DateInputState> {
}
}

private readonly handleClearValueClick = (event: React.MouseEvent<HTMLButtonElement>) => {
private readonly handleClearValueClick = () => {
if (!this.props.disabled) {
this.setState({isOpen: false}, () => {
this.props.onChange(null);
Expand Down

0 comments on commit 3e7d19a

Please sign in to comment.