diff --git a/types/material-ui/material-ui-tests.tsx b/types/material-ui/material-ui-tests.tsx index ab1abc4577..3187188e99 100644 --- a/types/material-ui/material-ui-tests.tsx +++ b/types/material-ui/material-ui-tests.tsx @@ -5736,7 +5736,7 @@ class SnackbarExampleAction extends Component<{}, {open?: boolean, autoHideDurat }); } - handleActionTouchTap = () => { + handleActionClick = () => { this.setState({ open: false, }); @@ -5774,7 +5774,7 @@ class SnackbarExampleAction extends Component<{}, {open?: boolean, autoHideDurat message={this.state.message} action="undo" autoHideDuration={this.state.autoHideDuration} - onActionTouchTap={this.handleActionTouchTap} + onActionClick={this.handleActionClick} onRequestClose={this.handleRequestClose} />