From f03e2ea760a40a62d99473e8b80ebcf84794b839 Mon Sep 17 00:00:00 2001 From: Napoleon Arouldas Date: Wed, 16 Jun 2021 15:52:13 +0530 Subject: [PATCH] Fix for Issue: 6363, documentation fix --- docs/Fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Fields.md b/docs/Fields.md index 4960f72673d..378b367f4b1 100644 --- a/docs/Fields.md +++ b/docs/Fields.md @@ -1423,7 +1423,7 @@ The component will be: import * as React from "react"; import { List, Datagrid, TextField, useRecordContext } from 'react-admin'; -const FullNameField = () => { +const FullNameField = (props) => { const record = useRecordContext(props); return {record.firstName} {record.lastName};