upd: position
Deskripsi: - update load list data position - update filter page - update select form - tambah data position No Issues
This commit is contained in:
14
lib/positionSlice.ts
Normal file
14
lib/positionSlice.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { createSlice } from '@reduxjs/toolkit';
|
||||
|
||||
const positionUpdate = createSlice({
|
||||
name: 'positionUpdate',
|
||||
initialState: false,
|
||||
reducers: {
|
||||
setUpdatePosition: (state, action) => {
|
||||
return action.payload;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const { setUpdatePosition } = positionUpdate.actions;
|
||||
export default positionUpdate.reducer;
|
||||
Reference in New Issue
Block a user