Skip to content

Commit

Permalink
Changed create.asyncThunk setup admonition to a caution
Browse files Browse the repository at this point in the history
  • Loading branch information
riqts committed Feb 2, 2024
1 parent e26d87e commit f0ecabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/createSlice.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ create.preparedReducer(

Creates an async thunk instead of an action creator.

:::warning Setup
:::caution Setup

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

Expand Down

0 comments on commit f0ecabb

Please sign in to comment.