Skip to content

Commit 77e532e

Browse files
committed
Fix codemod name [no ci]
1 parent bcac2e5 commit 77e532e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/DataTable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ For `.js` or `.jsx` files:
18301830
```sh
18311831
npx jscodeshift ./path/to/src/ \
18321832
--extensions=js,jsx \
1833-
--transform=./node_modules/ra-core/codemods/replace-Admin-history.ts
1833+
--transform=./node_modules/ra-core/codemods/replace-Datagrid-DataTable.ts
18341834
```
18351835

18361836
For `.ts` or `.tsx` files:
@@ -1839,5 +1839,5 @@ For `.ts` or `.tsx` files:
18391839
npx jscodeshift ./path/to/src/ \
18401840
--extensions=ts,tsx \
18411841
--parser=tsx \
1842-
--transform=./node_modules/ra-core/codemods/replace-Admin-history.ts
1842+
--transform=./node_modules/ra-core/codemods/replace-Datagrid-DataTable.ts
18431843
```

0 commit comments

Comments
 (0)