diff options
| author | Max Nanis | 2025-06-02 16:45:21 +0700 |
|---|---|---|
| committer | Max Nanis | 2025-06-02 16:45:21 +0700 |
| commit | e6037b430935720ce60245ae36ecd3622e8a22bf (patch) | |
| tree | 13919b0f73729ad47a31e06bdd710f774d70cac0 /src/models/questionSlice.ts | |
| parent | 8caa77413ea372e5cbd2980a9922d701af359c04 (diff) | |
| download | panel-ui-e6037b430935720ce60245ae36ecd3622e8a22bf.tar.gz panel-ui-e6037b430935720ce60245ae36ecd3622e8a22bf.zip | |
Updated openapi generator to use the latest version (camelCase to underscore - which respects API models). Updating views to use the new swagger definitions. AnswerSlice as a datastore alongside Questions TS interface
Diffstat (limited to 'src/models/questionSlice.ts')
| -rw-r--r-- | src/models/questionSlice.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/models/questionSlice.ts b/src/models/questionSlice.ts index 6a4da6f..e3674be 100644 --- a/src/models/questionSlice.ts +++ b/src/models/questionSlice.ts @@ -1,10 +1,9 @@ import {createSlice, PayloadAction} from '@reduxjs/toolkit' import type {RootState} from '@/store' -import {UpkQuestion} from "@/api/models/upk-question.ts" +import {UpkQuestion} from "@/api"; const initialState: UpkQuestion[] = [] -// Create the slice and pass in the initial state const questionSlice = createSlice({ name: 'questions', initialState, |
