This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2022-11-22 02:26:14 -08:00
|
|
|
import { connect } from 'react-redux';
|
2023-05-28 07:38:10 -07:00
|
|
|
|
2022-11-22 02:26:14 -08:00
|
|
|
import { openModal, closeModal } from 'flavours/glitch/actions/modal';
|
2023-05-28 07:38:10 -07:00
|
|
|
import { isUserTouching } from 'flavours/glitch/is_mobile';
|
|
|
|
|
2022-11-22 02:26:14 -08:00
|
|
|
import Dropdown from '../components/dropdown';
|
|
|
|
|
|
|
|
const mapDispatchToProps = dispatch => ({
|
|
|
|
isUserTouching,
|
|
|
|
onModalOpen: props => dispatch(openModal('ACTIONS', props)),
|
|
|
|
onModalClose: () => dispatch(closeModal()),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, mapDispatchToProps)(Dropdown);
|