[no gbp] express console: Bluescreen on cart (#82844)

## About The Pull Request
Truly,
## Why It's Good For The Game
Bug fix before you even issue report it
This commit is contained in:
Jeremiah
2024-04-23 15:31:50 +12:00
committed by GitHub
parent 76d3329534
commit 9e7aecaf9e
@@ -55,7 +55,7 @@ export function CargoCart(props) {
function CheckoutItems(props) {
const { act, data } = useBackend<CargoData>();
const { amount_by_name, can_send, cart = [], max_order } = data;
const { amount_by_name = {}, can_send, cart = [], max_order } = data;
if (cart.length === 0) {
return <NoticeBox>Nothing in cart</NoticeBox>;