7eb5eb9996
- Moved from reach/ui to material/ui menu components, because reach ui wouldn't work with 2 menus - This channel selector stores the default on settings - setActiveChannelIfNotSet was deprecated, if the account has channels, it will always return a channel even if there is no active channel or stored channel
12 lines
470 B
JavaScript
12 lines
470 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectHasChannels, selectFetchingMyChannels } from 'redux/selectors/claims';
|
|
import { selectActiveChannelClaim } from 'redux/selectors/app';
|
|
import CreatorDashboardPage from './view';
|
|
|
|
const select = (state) => ({
|
|
hasChannels: selectHasChannels(state),
|
|
fetchingChannels: selectFetchingMyChannels(state),
|
|
activeChannelClaim: selectActiveChannelClaim(state),
|
|
});
|
|
|
|
export default connect(select)(CreatorDashboardPage);
|