aswi2023one-team-to-rule-them-all-gitlab/src/stores/reducers/planSlice.ts @ 90af86f9
1 |
import { PayloadAction, createSlice } from "@reduxjs/toolkit" |
---|---|
2 |
import { PlanViewState } from "../../types/plan"; |
3 |
|
4 |
const initialState: PlanViewState = { |
5 |
lastError: "", |
6 |
planLoading: true, |
7 |
}
|
8 |
|
9 |
export const planSlice = createSlice({ |
10 |
name: "plan", |
11 |
initialState: initialState, |
12 |
reducers: {}, |
13 |
extraReducers: (builder) => { |
14 |
}
|
15 |
})
|
16 |
|
17 |
export default planSlice.reducer |