The order detail page was trying to access design.front.length and design.back.length without safely checking if they exist. Now wraps the parse in try-catch and uses optional chaining to handle errors gracefully.
The order detail page was trying to access design.front.length and design.back.length without safely checking if they exist. Now wraps the parse in try-catch and uses optional chaining to handle errors gracefully.