bbe68a3319
* Add a setting to hide scheduled livestreams from home/following * Add a hide button in the scheduled stream header. * Fix typo + make sure pref is synced
11 lines
469 B
JavaScript
11 lines
469 B
JavaScript
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);
|