Bring Inference autogenerated Code to my page
Hello, i used the tool online downloading an example for my project next.js + strapiv4+materialui
I could connect refine to my strapi environment, i added a page related to a strapi table, it auto generate a record list, and it suggests me to copy the autogenerated code on my code page.
So if i well understand i should replace my /pages/pagename/index.tsx content with the autogenerated? isn't it?
Doing it, after saving, i obtain this errror:
Server Error
Error: The default export is not a React Component in page: "/pagename"
This error happened while generating the page. Any console logs will be displayed in the terminal window.
I don't know what i'm missing, probably is my fault because i'm a newbie in this field.
Should I paste all my code?
I could connect refine to my strapi environment, i added a page related to a strapi table, it auto generate a record list, and it suggests me to copy the autogenerated code on my code page.
So if i well understand i should replace my /pages/pagename/index.tsx content with the autogenerated? isn't it?
Doing it, after saving, i obtain this errror:
Server Error
Error: The default export is not a React Component in page: "/pagename"
This error happened while generating the page. Any console logs will be displayed in the terminal window.
I don't know what i'm missing, probably is my fault because i'm a newbie in this field.
Should I paste all my code?
