Closed Adiyasa26 closed 11 months ago
If you add
export default schema.types
to end of your schema files, it should work. Still I think it needs fixing
If you add
export default schema.types
to end of your schema files, it should work. Still I think it needs fixing
Aw, my bad, thank you so much, now my program works.
Can anyone help me with this problem?
FYI, this is how i import defineArrayMember, defineField, etc
FYI, this is my schema.ts this file is located at the root
I have followed the documentation provided, I have also tried debugging by changing the export schema to default export. And I am using Nextjs13.4