loading...
; + if (isOrderLoading || isProductsLoading) returnloading...
; - const statusHistory = order.statusHistory || []; + const statusHistory = order?.statusHistory || []; const lastStatusItem = statusHistory[statusHistory.length - 1]; - return ( + return order ? (loading...
; - return (