optimistic-gold•3y ago
AntdInferencer not working even adjusting the new API
return <AntdInferencer resource="blogs" action="list" />;

11 Replies
Hi @pkalib. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information extracts provided, you can use the
<AntdInferencer> component to generate a sample list view for your resources. However, the example provided in the extracts does not include the resource and action props. Here's the example from the extracts:
To use the <AntdInferencer> component with the resource and action props, you can modify the example like this:
Please note that this modification is not directly from the provided extracts, but it's based on the information available in the extracts.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@329809837338656770> kapa.ai is still learning and improving, please let us how it did by reacting below
optimistic-goldOP•3y ago
um using nextjs
wise-white•3y ago
Hey @pkalib,
Did you define your resources in
<Refine> component?optimistic-goldOP•3y ago
yes
optimistic-goldOP•3y ago

wise-white•3y ago
Can you explain in details such as console errors?
optimistic-goldOP•3y ago
there is no error actualy
it just dont render
wise-white•3y ago
It's interesting can you create a codesandbox environment to investigate it?
Btw, refine.new is using the Inferencer to create projects and they work as expected.
stuck-chocolate•3y ago
Hey @pkalib any chance to try out the other actions such as show?
Are you trying with a new project or migrating an existing one to v4?
optimistic-goldOP•3y ago
Sure I will
the project was created via cli then I updated it since it prompted new changes