Skip to content

Commit

Permalink
fixes empty data cart client-side (closes #941)
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Sep 30, 2021
1 parent 5fbe865 commit 31d53e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/pages/Cart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ class Cart extends Component {

componentDidMount() {
this.props.updateTitle(title);
const {cart} = this.props;
if (cart) this.reload.bind(this)();
}

componentWillUnmount() {
Expand Down

0 comments on commit 31d53e0

Please sign in to comment.