2022-11-22 19:26:14 +09:00
|
|
|
import { connect } from 'react-redux';
|
2023-05-28 23:38:10 +09:00
|
|
|
|
2022-11-22 19:26:14 +09:00
|
|
|
import { openModal, closeModal } from 'flavours/glitch/actions/modal';
|
2023-05-28 23:38:10 +09:00
|
|
|
import { isUserTouching } from 'flavours/glitch/is_mobile';
|
|
|
|
|
2022-11-22 19:26:14 +09:00
|
|
|
import Dropdown from '../components/dropdown';
|
|
|
|
|
|
|
|
const mapDispatchToProps = dispatch => ({
|
|
|
|
isUserTouching,
|
2023-05-25 22:42:37 +09:00
|
|
|
onModalOpen: props => dispatch(openModal({ modalType: 'ACTIONS', modalProps: props })),
|
2022-11-22 19:26:14 +09:00
|
|
|
onModalClose: () => dispatch(closeModal()),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, mapDispatchToProps)(Dropdown);
|