kirill-zhirnov / boundless-nextjs-ecommerce-template

Next.js E-Commerce template. Strong TypeScript, Ready to use, For high-performance e-commerce websites.
https://boundless-commerce.com
MIT License
114 stars 50 forks source link

An error occurred while browsing the product #86

Closed Serbia580 closed 11 months ago

Serbia580 commented 11 months ago

Server Error

TypeError: Cannot read properties of undefined (reading 'length') This error happened while generating the page. Any console logs will be displayed in the terminal window. Source

components/product/Characteristics.tsx (8:22) @ length

6 | 7 | export default function ProductCharacteristics({characteristics, manufacturer, size}: IProductCharacteristicsProps) {

8 | if (!characteristics.length) return null; | ^ 9 | 10 | return ( 11 |

kirill-zhirnov commented 11 months ago

Hi @Serbia580 , Thanks for the report!

We will fix the templates in 1-2 days.

kirill-zhirnov commented 11 months ago

Hi @Serbia580 All of the templates were fixed :)