Skip to content

Commit c17ed5a

Browse files
authored
Merge pull request #4150 from riqts/change-createasyncthunk-admonition
[Docs] Changed create.asyncThunk setup admonition to caution
2 parents e26d87e + f0ecabb commit c17ed5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createSlice.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ create.preparedReducer(
240240

241241
Creates an async thunk instead of an action creator.
242242

243-
:::warning Setup
243+
:::caution Setup
244244

245245
To avoid pulling `createAsyncThunk` into the bundle size of `createSlice` by default, some extra setup is required to use `create.asyncThunk`.
246246

0 commit comments

Comments
 (0)