CI / quality (push) Waiting to run
- Add src/core/ (config, errors, events, http, observability, storage, query) - Add src/Spreadsheet/ engine with native POI backend and Excel bridge - Add Envelope C spreadsheet flow and tender bidding envelope modules - Consolidate components into src/components/, remove legacy Component/ and Hooks/ - Add registration state/validation, auth session guard, profile edit modules - Add unit tests across axios, redux, bidding, registration, encryption, core - Add CI workflow, docs (architecture, audit, DSC API spec), keystore example - Remove tracked keystore binary; ignore scripts.zip Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
478 B
TypeScript
21 lines
478 B
TypeScript
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;
|