upd: division
Deskripsi: - load data all division - search data all division - filter data division - user role pada halaman division No Issues
This commit is contained in:
14
lib/divisionUpdate.ts
Normal file
14
lib/divisionUpdate.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { createSlice } from '@reduxjs/toolkit';
|
||||
|
||||
const divisionUpdate = createSlice({
|
||||
name: 'divisionUpdate',
|
||||
initialState: false,
|
||||
reducers: {
|
||||
setUpdateDivision: (state, action) => {
|
||||
return action.payload;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const { setUpdateDivision } = divisionUpdate.actions;
|
||||
export default divisionUpdate.reducer;
|
||||
Reference in New Issue
Block a user