You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
525 B
15 lines
525 B
import { connect } from 'react-redux';
|
|
|
|
import { openModal, closeModal } from 'flavours/glitch/actions/modal';
|
|
import { isUserTouching } from 'flavours/glitch/is_mobile';
|
|
|
|
import Dropdown from '../components/dropdown';
|
|
|
|
const mapDispatchToProps = dispatch => ({
|
|
isUserTouching,
|
|
onModalOpen: props => dispatch(openModal({ modalType: 'ACTIONS', modalProps: props })),
|
|
onModalClose: () => dispatch(closeModal({ modalType: undefined, ignoreFocus: false })),
|
|
});
|
|
|
|
export default connect(null, mapDispatchToProps)(Dropdown);
|