fix user counter
This commit is contained in:
parent
e237d74481
commit
3c1c364944
|
@ -32,7 +32,8 @@ const OnlineBox = ({ online, totalPixels, name }) => (
|
|||
);
|
||||
|
||||
function mapStateToProps(state: State) {
|
||||
const { online, totalPixels, name } = state.user;
|
||||
const { online, totalPixels } = state.ranks;
|
||||
const { name } = state.user;
|
||||
return { online, totalPixels, name };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user