10 lines
345 B
JavaScript
10 lines
345 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import TokenPermissions from './TokenPermission';
|
||
|
import { getCurrentAccount, accountsIsLoading } from '../../reducers/accounts';
|
||
|
|
||
|
const mapStateToProps = state => ({
|
||
|
account: getCurrentAccount(state),
|
||
|
isLoading: accountsIsLoading(state),
|
||
|
});
|
||
|
export default connect(mapStateToProps)(TokenPermissions);
|