diff --git a/docs/guide/column-defs.md b/docs/guide/column-defs.md index addc462882..4b4f997dc9 100644 --- a/docs/guide/column-defs.md +++ b/docs/guide/column-defs.md @@ -167,9 +167,9 @@ type Person = { You could extract the `first` value like so: ```tsx -columnHelper.accessor('name.first'), { +columnHelper.accessor('name.first', { id: 'firstName', -} +}) // OR