|
|
|
@ -238,7 +238,12 @@ class Cart extends Component { |
|
|
|
|
</div> */} |
|
|
|
|
|
|
|
|
|
<Link |
|
|
|
|
to="/checkout" |
|
|
|
|
disabled={window.lang == "ar" || window.lang == "en"} |
|
|
|
|
to={ |
|
|
|
|
window.lang == "ar" || window.lang == "en" |
|
|
|
|
? "/cart" |
|
|
|
|
: "/checkout" |
|
|
|
|
} |
|
|
|
|
className="cart__left--submit" |
|
|
|
|
style={{ textDecoration: "none", textAlign: "center" }} |
|
|
|
|
//onClick={() => this.props.payFactor({ userId: userId })}
|
|
|
|
@ -370,7 +375,12 @@ class Cart extends Component { |
|
|
|
|
</Link> |
|
|
|
|
</div> |
|
|
|
|
<Link |
|
|
|
|
to="/checkout" |
|
|
|
|
disabled={window.lang == "ar" || window.lang == "en"} |
|
|
|
|
to={ |
|
|
|
|
window.lang == "ar" || window.lang == "en" |
|
|
|
|
? "/cart" |
|
|
|
|
: "/checkout" |
|
|
|
|
} |
|
|
|
|
className="mobile-cart__submit" |
|
|
|
|
style={{ textAlign: "center", textDecoration: "none" }} |
|
|
|
|
// onClick={() => this.props.payFactor({ userId: userId })}
|
|
|
|
|