import { jahadIllegalKillingService } from "../../../features/jahad/services/jahad-illegal-killing";
import { jahadGetProfile } from "../../../features/jahad/services/jahadGetProfile";
import { killsDailyReportService } from "../../../features/jahad/services/kills-daily-report-service";

export const jahadExtraReducers = {
  [jahadGetProfile.fulfilled]: (state, { payload }) => {
    state.profile = payload.data;
    state.pending = false;
  },
  [killsDailyReportService.fulfilled]: (state, { payload }) => {
    state.killsDailyReport = payload.data;
    state.pending = false;
  },
  [jahadIllegalKillingService.fulfilled]: (state, { payload }) => {
    state.jahadIllegalKilling = payload.data;
    state.pending = false;
  },
};
