diff --git a/docs/api/createAsyncThunk.mdx b/docs/api/createAsyncThunk.mdx index fb237c233..19f048a03 100644 --- a/docs/api/createAsyncThunk.mdx +++ b/docs/api/createAsyncThunk.mdx @@ -560,7 +560,7 @@ const usersSlice = createSlice({ }) const UsersComponent = () => { - const { users, loading, error } = useSelector((state) => state.users) + const { entities, loading, error } = useSelector((state) => state.users) const dispatch = useDispatch() const fetchOneUser = async (userId) => {