You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, in the component, everywhere in <Datagrid>, the resource parameter is correct, and <DatagridRow> it is replaced by resource from useResourceContext(props)
What you were expecting:
Expected creating a CustomList as in the documentation would work correctly https://marmelab.com/react-admin/List.html#performance
What happened instead:
Instead, in the component, everywhere in
<Datagrid>
, theresource
parameter is correct, and<DatagridRow>
it is replaced byresource
fromuseResourceContext(props)
Steps to reproduce:
Open DatagridRow.tsx
Other information:
I don't know how to properly wrap the example in a ResourceContext or do I need to edit the DatagridRow?
Environment
The text was updated successfully, but these errors were encountered: