AdminPanel.tsx
<Resource
options={{ label: 'Transactions' }}
icon={WorkIcon}
name={path}
list={TransactionsList}
/>
TransactionsList.tsx
const PostList = () => (
<ResourceContextProvider value={path}>
<List syncWithLocation {...props}>
<Datagrid >
<FullNameUserField label="User" source="userFirstName" />
<TextField label="Goal Type" source="savingGoalType" />
<TextField label="Goal name" source="savingGoalName" />
<TextField label="Target Amount" source="targetAmount" />
<SavingGoalCreationDateField label="Goal creation date" source="savingGoalCreationDate" />
<TextField label="Strategy Name" source="strategyName" />
<SavingGoalCreationDateField label="Target Date" source="targetDate" />
<TextField label="Status" source="savingGoalStatus" />
</Datagrid>
</List>
</ResourceContextProvider>)
<Tab label="comments" path="comments">
<PostLisst />
</Tab>
enter image description here
i can’t display request’s result, why?