mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-21 12:47:58 +00:00
7d7db8977b
Port d27216dc46
to glitch-soc
15 lines
454 B
JavaScript
15 lines
454 B
JavaScript
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('ACTIONS', props)),
|
|
onModalClose: () => dispatch(closeModal()),
|
|
});
|
|
|
|
export default connect(null, mapDispatchToProps)(Dropdown);
|