import { createSlice } from '@reduxjs/toolkit';

const projectUpdate = createSlice({
   name: 'projectUpdate',
   initialState: {
      data: false,
      progress: false,
      task: false,
      file: false,
      member: false,
      link: false,
      report: false,
   },
   reducers: {
      setUpdateProject: (state, action) => {
         return action.payload;
      },
   },
});

export const { setUpdateProject } = projectUpdate.actions;
export default projectUpdate.reducer;