Skip to content

Commit

Permalink
Fix for Issue: 6363, documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
neps-in committed Jun 16, 2021
1 parent fd94510 commit f03e2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span>{record.firstName} {record.lastName}</span>;
Expand Down

0 comments on commit f03e2ea

Please sign in to comment.