0

Hi – I am getting a substring error in line 79 of OrderHistoryScreen.js that is preventing the page from loading ..

line 79 – {order.createdAt.substring(0, 10)}

Where does this string pull information from as I can’t see where it links to?

If I remove this line of code, the page displays fine – but without the date that the order was created. Is there any fix for this?

Thanks!

MB Asked question November 1, 2022