Skip to content

Commit

Permalink
fix(codemod): changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed Jul 31, 2024
1 parent 07be490 commit 9385920
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .changeset/grumpy-impalas-thank.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
---
"@refinedev/codemod": minor
---

feat: added `npx @refinedev/codemod@latest use-table-query-result` to automatically refactor `useTable`'s `tableQueryResult` to `tableQuery` #6163

```diff
- const { tableQueryResult } = useTable(); // or useDataGrid
+ const { tableQuery } = useTable();
```

feat: added `npx @refinedev/codemod@latest use-simple-list-query-result` to automatically refactor `useSimpleList`'s `queryResult` to `query` #6163

```diff
- const { queryResult } = useSimpleList();
+ const { query } = useSimpleList()
```

feat: added `npx @refinedev/codemod@latest use-show-query-result` to automatically refactor `useShow`'s `queryResult` to `query` #6163

```diff
Expand Down
17 changes: 17 additions & 0 deletions .changeset/unlucky-fans-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@refinedev/codemod": minor
---

feat: added `npx @refinedev/codemod@latest use-table-query-result` to automatically refactor `useTable`'s `tableQueryResult` to `tableQuery` #6163

```diff
- const { tableQueryResult } = useTable(); // or useDataGrid
+ const { tableQuery } = useTable();
```

feat: added `npx @refinedev/codemod@latest use-simple-list-query-result` to automatically refactor `useSimpleList`'s `queryResult` to `query` #6163

```diff
- const { queryResult } = useSimpleList();
+ const { query } = useSimpleList()
```

0 comments on commit 9385920

Please sign in to comment.