mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
redux: fixed estimated
This commit is contained in:
parent
185fe80fc5
commit
5d2c534aa9
6 changed files with 30 additions and 38 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue