Skip to content

Commit 1f1ac68

Browse files
committed
add no-transpile to snippet
1 parent 0d55413 commit 1f1ac68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/custom-slice-creators.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ context
490490

491491
Tries to select the slice's state from the root state, using the original `reducerPath` option passed when calling `createSlice` (which defaults to the `name` option). Throws an error if it can't find the slice.
492492

493-
```ts
493+
```ts no-transpile
494494
const aThunk =
495495
(): ThunkAction<void, Record<string, unknown>, unknown, Action> =>
496496
(dispatch, getState) => {

0 commit comments

Comments
 (0)