then-purpleT
Refine3y ago
7 replies
then-purple

Not calling list api

  {
        name: "admin/reports",
        list: "admin/reports",
        meta: {
            label: "Reports",
            icon: <ProjectOutlined />
        },
    },

 import { IResourceComponentsProps } from "@refinedev/core";
 import { AntdInferencer } from "@refinedev/inferencer/antd";

export const ReportsList: React.FC<IResourceComponentsProps> = () => {
    return <AntdInferencer />;
};

  <Route path="admin/reports">
     <Route index element={<ReportsList />} />
 </Route>

API is not called
Was this page helpful?