2021-12-16 22:59:13 +01:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import ScheduledStreams from './view';
|
2022-01-05 22:20:43 +01:00
|
|
|
import { doSetClientSetting } from 'redux/actions/settings';
|
|
|
|
import { doToast } from 'redux/actions/notifications';
|
2021-12-16 22:59:13 +01:00
|
|
|
|
2022-01-05 22:20:43 +01:00
|
|
|
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);
|