aboutsummaryrefslogtreecommitdiff
path: root/src/models/bucketSlice.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/bucketSlice.ts')
-rw-r--r--src/models/bucketSlice.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/models/bucketSlice.ts b/src/models/bucketSlice.ts
index 9c6aee8..3a2c0d1 100644
--- a/src/models/bucketSlice.ts
+++ b/src/models/bucketSlice.ts
@@ -1,13 +1,10 @@
import {createSlice, PayloadAction} from '@reduxjs/toolkit'
-import {SoftPairBucketClass} from "@/models/bucket.ts"
-// import {ProfilingQuestion} from "@/models/question.ts";
import type {RootState} from '@/store'
-import {SoftPairBucket} from "@/api/models/soft-pair-bucket.ts"
+import {SoftPairBucket} from "@/api";
+
-// Create an initial state value for the reducer, with that type
const initialState: SoftPairBucket[] = []
-// Create the slice and pass in the initial state
const bucketSlice = createSlice({
name: 'buckets',
initialState,
@@ -21,7 +18,6 @@ const bucketSlice = createSlice({
}
})
-// Export the generated reducer function
export const {setBuckets, bucketAdded} = bucketSlice.actions;
export default bucketSlice.reducer