Add basic structure

This commit is contained in:
MD. Ariful Alam
2021-08-21 13:35:30 +06:00
parent 050ccad47f
commit 0229b5e453
23 changed files with 47162 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
import { createSlice } from '@reduxjs/toolkit';
const initialState = null;
export const profileSlice = createSlice({
name: 'profile',
initialState: initialState,
reducers: {
setProfile: (state, action) => {
state = action.payload;
return state;
}
}
})
export const { setProfile } = profileSlice.actions;
export default profileSlice.reducer;