redux: fixed estimated

This commit is contained in:
muerwre 2018-11-26 15:20:19 +07:00
parent 185fe80fc5
commit 5d2c534aa9
6 changed files with 30 additions and 38 deletions

View file

@ -200,21 +200,11 @@ class Component extends React.Component<Props, void> {
// };
render() {
const { props: { user } } = this;
return (
<div>
<Fills />
<UserLocation editor={editor} />
<UserPanel
editor={editor}
user={user}
// setUser={this.setUser}
// userLogout={this.userLogout}
/>
<UserLocation />
<UserPanel />
<EditorPanel />
</div>
);
@ -229,7 +219,7 @@ function mapStateToProps(state) {
mode,
routerPoints,
totalDistance,
estimateTime,
estimated,
activeSticker,
logo,
title,
@ -244,7 +234,7 @@ function mapStateToProps(state) {
mode,
routerPoints,
totalDistance,
estimateTime,
estimated,
activeSticker,
logo,
title,