lbry-desktop/ui/component/scheduledStreams/index.js

12 lines
469 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import ScheduledStreams from './view';
import { doSetClientSetting } from 'redux/actions/settings';
import { doToast } from 'redux/actions/notifications';
const perform = (dispatch) => ({
setClientSetting: (key, value, pushPrefs) => dispatch(doSetClientSetting(key, value, pushPrefs)),
doShowSnackBar: (message) => dispatch(doToast({ isError: false, message })),
});
export default connect(null, perform)(ScheduledStreams);