first commit

This commit is contained in:
rohit-kumar-fullstack
2026-01-02 17:56:16 +05:30
parent b94f98a764
commit 59fb7e0df4
149 changed files with 9362 additions and 12549 deletions
+20
View File
@@ -0,0 +1,20 @@
import { createSlice } from '@reduxjs/toolkit';
const initialState = {
auction: '',
};
export const auctionSlice = createSlice({
name: 'auction',
initialState,
reducers: {
setAuction: (state, { payload }) => {
state.auction = payload;
},
removeAuction: (state) => {
state.auction = '';
}
},
});
export const { setAuction , removeAuction} = auctionSlice.actions;
export default auctionSlice.reducer;