upd : kalender divisi

Deskripsi:
0 tambah data
- edit data kalender divisi
- nb : bllm selesai

No Issues
This commit is contained in:
2025-07-17 17:48:02 +08:00
parent cf3b2090ea
commit 85f80746a3
11 changed files with 501 additions and 58 deletions

24
lib/calendarCreate.ts Normal file
View File

@@ -0,0 +1,24 @@
import { createSlice } from '@reduxjs/toolkit';
const calendarCreate = createSlice({
name: 'calendarCreate',
initialState: {
title: "",
desc: "",
dateStart: "",
timeStart: "",
timeEnd: "",
repeatEventType: "",
repeatValue: 1,
linkMeet: "",
member: [],
},
reducers: {
setFormCreateCalendar: (state, action) => {
return action.payload;
},
},
});
export const { setFormCreateCalendar } = calendarCreate.actions;
export default calendarCreate.reducer;