view details error fixed
Some checks are pending
NPM Installation / build (16.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (16.x, windows-latest) (push) Waiting to run
NPM Installation / build (17.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (17.x, windows-latest) (push) Waiting to run
NPM Installation / build (18.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (18.x, windows-latest) (push) Waiting to run

This commit is contained in:
ROSHAN GARG 2024-10-16 12:12:27 +05:30
parent 3a12416007
commit fc3afef769

View File

@ -80,7 +80,6 @@ const OrderDetails = () => {
grandTotal,
statusHistory, // Assume this is an array of status objects
} = order
console.log(statusHistory)
return (
<Box>
@ -197,7 +196,7 @@ const OrderDetails = () => {
</Box>
{/* Status History Table */}
{statusHistory.length > 0 && (
{/* {statusHistory.length > 0 && (
<Box mt={8}>
<Typography variant="h5" sx={{ mb: '1rem' }}>
Status History
@ -225,7 +224,7 @@ const OrderDetails = () => {
</Table>
</TableContainer>
</Box>
)}
)} */}
</Box>
)
}