Skip to content

Commit

Permalink
[no gbp] express console: Bluescreen on cart (tgstation#82844)
Browse files Browse the repository at this point in the history
## About The Pull Request
Truly,
## Why It's Good For The Game
Bug fix before you even issue report it
  • Loading branch information
jlsnow301 authored Apr 23, 2024
1 parent 76d3329 commit 9e7aeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/Cargo/CargoCart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 9e7aeca

Please sign in to comment.