upd: tambah project
Deskripsi: - mengganti metode tambah anggota pada fitur tambah project No Issues
This commit is contained in:
14
lib/groupChoose.ts
Normal file
14
lib/groupChoose.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { createSlice } from '@reduxjs/toolkit';
|
||||
|
||||
const groupChoose = createSlice({
|
||||
name: 'groupChoose',
|
||||
initialState: '',
|
||||
reducers: {
|
||||
setGroupChoose: (state, action) => {
|
||||
return action.payload;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const { setGroupChoose } = groupChoose.actions;
|
||||
export default groupChoose.reducer;
|
||||
Reference in New Issue
Block a user