mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[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:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user