Skip to content

Commit b1506a7

Browse files
authoredFeb 10, 2025··
docs: row accessor bug in example code block (#5893)
Accessor function accepts row object so to access age we should access it from row.
1 parent 36dede1 commit b1506a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/guide/data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const columns = [
127127
},
128128
{
129129
header: 'Age',
130-
accessorFn: info => info.age,
130+
accessorFn: row => row.info.age,
131131
},
132132
//...
133133
]

0 commit comments

Comments
 (0)
Please sign in to comment.