Skip to content

Commit 3b2eeb6

Browse files
Update best-practices.mdx (#1098)
Fixed typo in "Re-usable MRT Component" section
1 parent 41af73e commit 3b2eeb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/material-react-table-docs/pages/docs/guides/best-practices.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export const CustomMRTTable = <TData extends MRT_RowData>({
297297

298298
By using the `TData` generic correctly, you can maintain type-safety in your re-usable component that will adapt to different types of data you will have throughout your application.
299299

300-
Though, be aware that the weakness of this is approach is that it will be more annoying to get access to the `table` instance or read table state where you need it.
300+
Though, be aware that the weakness of this approach is that it will be more annoying to get access to the `table` instance or read table state where you need it.
301301

302302
When re-using your MRT table component, it will just look something like this:
303303

0 commit comments

Comments
 (0)