{
    "success": true,
    "message": "reclamations for user 64537333924661387835b2a6",
    "data": [
        {
            "_id": null,
            "fullname": null,
            "reclamations": [
                {
                    "_id": "647460feb098bb06ad456ebb",
                    "title": "hfeafsg",
                    "reserved": true,
                    "userId": "64537333924661387835b2a6",
                    "demandId": "6464d3d0271d554f0c15c2e3",
                    "createdAt": "2023-04-19T10:59:24.838Z",
                    "updatedAt": "2023-04-20T11:49:52.992Z",
                    "__v": 0,
                    "adminId": "642fffb666e2703d80e0046d",
                    "active": false,
                    "demand": [],
                    "target": [],
                    "fullname": null
                },
                {
                    "_id": "64746125b098bb06ad456ebe",
                    "title": "retard fffaaa",
                    "reserved": true,
                    "userId": "64537333924661387835b2a6",
                    "demandId": "6464d3d0271d554f0c15c2e3",
                    "createdAt": "2023-04-19T10:59:24.838Z",
                    "updatedAt": "2023-04-20T11:49:52.992Z",
                    "__v": 0,
                    "adminId": "642fffb666e2703d80e0046d",
                    "active": false,
                    "demand": [],
                    "target": [],
                    "fullname": null
                },
                {
                    "_id": "64746138b098bb06ad456ebf",
                    "title": "farouk ",
                    "reserved": true,
                    "userId": "64537333924661387835b2a6",
                    "demandId": "6464d3d0271d554f0c15c2e3",
                    "createdAt": "2023-04-19T10:59:24.838Z",
                    "updatedAt": "2023-04-20T11:49:52.992Z",
                    "__v": 0,
                    "adminId": "642fffb666e2703d80e0046d",
                    "active": false,
                    "demand": [],
                    "target": [],
                    "fullname": null
                }
            ]
        },{
            "_id": null,
            "fullname": null,
            "reclamations": [
                {
                    "_id": "647460feb098bb06ad456ebb",
                    "title": "hfeafsg",
                    "reserved": true,
                    "userId": "64537333924661387835b2a6",
                    "demandId": "6464d3d0271d554f0c15c2e3",
                    "createdAt": "2023-04-19T10:59:24.838Z",
                    "updatedAt": "2023-04-20T11:49:52.992Z",
                    "__v": 0,
                    "adminId": "642fffb666e2703d80e0046d",
                    "active": false,
                    "demand": [],
                    "target": [],
                    "fullname": null
                },
                {
                    "_id": "64746125b098bb06ad456ebe",
                    "title": "retard fffaaa",
                    "reserved": true,
                    "userId": "64537333924661387835b2a6",
                    "demandId": "6464d3d0271d554f0c15c2e3",
                    "createdAt": "2023-04-19T10:59:24.838Z",
                    "updatedAt": "2023-04-20T11:49:52.992Z",
                    "__v": 0,
                    "adminId": "642fffb666e2703d80e0046d",
                    "active": false,
                    "demand": [],
                    "target": [],
                    "fullname": null
                },
                {
                    "_id": "64746138b098bb06ad456ebf",
                    "title": "farouk ",
                    "reserved": true,
                    "userId": "64537333924661387835b2a6",
                    "demandId": "6464d3d0271d554f0c15c2e3",
                    "createdAt": "2023-04-19T10:59:24.838Z",
                    "updatedAt": "2023-04-20T11:49:52.992Z",
                    "__v": 0,
                    "adminId": "642fffb666e2703d80e0046d",
                    "active": false,
                    "demand": [],
                    "target": [],
                    "fullname": null
                }
            ]
        }
    ]
} and i have this reduxToolkit fn  import {createSlice, createAsyncThunk} from '@reduxjs/toolkit';
import AsyncStorage from '@react-native-async-storage/async-storage';
import ReclamationService from '@services/features/reclamation.services';

const initialState = {
  reclamations: [],
};
export const getReclamations = createAsyncThunk(
  'reclamation/getReclamations',
  async ({accessToken}, thunkAPI) => {
    try {
      const response = await ReclamationService.getReclamation(accessToken);
      console.log(
        'response from redux =====>',
        response?.data?.[0]?.reclamations,
      );
      response === undefined || response === null
        ? thunkAPI.dispatch(
            setMessagePassword(
              'Erreur de connexion veuillez, ressayer plus tard',
            ),
          ) && thunkAPI.rejectWithValue()
        : thunkAPI.dispatch(setMessagePassword(response?.message)) &&
          console.log('response.data', response.message);

      if (response) {
        return {
          reclamations: response?.data?.[0]?.reclamations || [],
          // any other fields to include in the payload, if necessary
        };
      }
      console.log('reclamations', reclamations);
    } catch (error) {
      console.log('error redux', error.response.data);
      thunkAPI.dispatch(setMessageRegister(response.message));
      setMessageRegister(error.response.message);
      thunkAPI.rejectWithValue(error.response.data);
    }
  },
);

const reclamationReducer = createSlice({
  name: 'reclamation',
  initialState,
  reducers: {},
  extraReducers: builder => {
    builder
      .addCase(getReclamations.fulfilled, (state, action) => {
        console.log(
          'redux======================================>',
          action.payload.reclamations,
        );
        state.reclamations = action.payload.reclamations;
      })

      .addCase(getReclamations.rejected, (state, action) => {
        state.reclamations = [];
      });
  },
});
const {actions} = reclamationReducer;
export default reclamationReducer.reducer;
and the scrren when i disptach the redux 
  const getReclamationOfUser = () => {
    console.log('inside fn 1');
    setLoading(true);
    console.log('inside fn 2');
    console.log('token', accessToken);
    dispatch(getReclamations({accessToken}))
      .unwrap()
      .then(() => {
        console.log('inside fn 3');
        setLoading(false);
      })
      .catch(error => {
        console.log('inside fn error', error);
        setLoading(false);
      });
  };
  useEffect(() => {
    getReclamationOfUser();
  }, []);

  useEffect(() => {
    setReclamation(reclamations);
    console.log('rec', reclamation);
  }, [reclamations]); so now correct this code to get the response.data witch is an array and set the value of reclamations to the response.data