Skip to content

Commit

Permalink
Merge pull request #985 from bitholla/hotfix
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
abeikverdi authored Oct 15, 2021
2 parents 33fb59e + f61b71a commit 5568f55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/components/SmartTarget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { getToken } from 'utils/token';
import { PLUGIN_URL } from 'config/constants';
import { withRouter } from 'react-router';
import { generateGlobalId } from 'utils/id';
import withEdit from 'components/EditProvider/withEdit';

const SmartTarget = (props) => {
const { targets, id, children, webViews } = props;
Expand Down Expand Up @@ -56,4 +57,6 @@ const mapStateToProps = (store) => ({
pairsTradesFetched: store.orderbook.pairsTradesFetched,
});

export default connect(mapStateToProps)(withConfig(withRouter(SmartTarget)));
export default connect(mapStateToProps)(
withEdit(withConfig(withRouter(SmartTarget)))
);

0 comments on commit 5568f55

Please sign in to comment.