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

const discussionGeneralDetailUpdate = createSlice({
   name: 'discussionGeneralDetailUpdate',
   initialState: false,
   reducers: {
      setUpdateDiscussionGeneralDetail: (state, action) => {
         return action.payload;
      },
   },
});

export const { setUpdateDiscussionGeneralDetail } = discussionGeneralDetailUpdate.actions;
export default discussionGeneralDetailUpdate.reducer;