Skip to content

Commit 2ebb40a

Browse files
authored
Merge pull request #5246 from Rohan5commit/rohan/fix-codemod-duplicate-word
docs: fix codemod README typo
2 parents 08eadc1 + 9f99481 commit 2ebb40a

File tree

1 file changed

+1
-1
lines changed
  • packages/rtk-codemods/transforms/createSliceReducerBuilder

1 file changed

+1
-1
lines changed

packages/rtk-codemods/transforms/createSliceReducerBuilder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Rewrites uses of Redux Toolkit's `createSlice` API to use the "builder callback" syntax for the `reducers` field, to make it easier to add prepared reducers and thunks inside of `createSlice`.
44

5-
Note that unlike the `createReducerBuilder` and `createSliceBuilder` transforms (which both were fixes for deprecated/removed overloads), this is entirely optional. You do not _need_ to apply this to an entire codebase unless you specifically want to. Otherwise, feel free to apply to to specific slice files as needed.
5+
Note that unlike the `createReducerBuilder` and `createSliceBuilder` transforms (which both were fixes for deprecated/removed overloads), this is entirely optional. You do not _need_ to apply this to an entire codebase unless you specifically want to. Otherwise, feel free to apply to specific slice files as needed.
66

77
Should work with both JS and TS files.
88

0 commit comments

Comments
 (0)