hunk.code_window:         "@testing-library/jest-dom": "5.16.4",
           "@testing-library/react": "12.1.4",
           "@types/bootstrap": "4.5.0",
           "@types/country-list": "2.1.0",
           "@types/enzyme": "3.10.11",
           "@types/highlight.js": "10.1.0",
           "@types/jest": "26.0.24",
           "@types/katex": "0.11.0",
           "@types/lodash": "4.14.182",
           "@types/luxon": "3.0.2",
           "@types/mark.js": "8.11.6",
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.file_path: webapp/package-lock.json
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  import {connect} from 'react-redux';
  import {ActionCreatorsMapObject, bindActionCreators, Dispatch} from 'redux';
  
  import timezones from 'timezones.json';
  
  import {updateMe} from 'mattermost-redux/actions/users';
  import {ActionFunc, ActionResult} from 'mattermost-redux/types/actions';
  import {UserProfile} from '@mattermost/types/users';
  import {GlobalState} from '@mattermost/types/store';
  import {getCurrentTimezoneLabel} from 'mattermost-redux/selectors/entities/timezone';
  
  import ManageTimezones from './manage_timezones';
  
  type Actions = {
      updateMe: (user: UserProfile) => Promise<ActionResult>;
  }
  
  function mapDispatchToProps(dispatch: Dispatch) {
      return {
          actions: bindActionCreators<ActionCreatorsMapObject<ActionFunc>, Actions>({
              updateMe,
          }, dispatch)};
  }
  function mapStateToProps(state: GlobalState) {
      const timezoneLabel = getCurrentTimezoneLabel(state);
      return {
          timezones,
          timezoneLabel,
      };
  }
  export default connect(mapStateToProps, mapDispatchToProps)(ManageTimezones);
  
  