Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This TypeError means that you are trying to access the property 'primary' of an undefined object in NextJS 13. This could happen if you have not initialized the object, or if the object was not passed correctly to the component that is trying to access the property. Check the code where the object is created or passed, and make sure that it is properly initialized and passed to the component where the property is being accessed.