Rename state/environment to state/app
This commit is contained in:
parent
1beb56abcf
commit
b0b9904bc1
12 changed files with 93 additions and 79 deletions
|
@ -1,6 +1,7 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { createStructuredSelector } from 'reselect';
|
||||
import App from '../components/App';
|
||||
import { getConnected } from '../state/app';
|
||||
import { getChannels } from '../state/channels';
|
||||
import { getPrivateChats } from '../state/privateChats';
|
||||
import { getServers } from '../state/servers';
|
||||
|
@ -10,7 +11,7 @@ import { push } from '../util/router';
|
|||
|
||||
const mapState = createStructuredSelector({
|
||||
channels: getChannels,
|
||||
connected: state => state.environment.get('connected'),
|
||||
connected: getConnected,
|
||||
privateChats: getPrivateChats,
|
||||
servers: getServers,
|
||||
showTabList: getShowTabList,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue