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