Skip to content

Commit

Permalink
fix: 선택된 문제 데이터 변환 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoon-Hae-Min committed Nov 14, 2023
1 parent cec1821 commit 441cca7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions FE/src/atoms/interviewSetting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ type PageStatus = 'pending' | 'success' | 'error';
type RecordMethod = 'local' | 'idrive' | 'none' | undefined;

type SelectedData = {
[key: string]: {
id: number;
content: string;
answer: string;
};
id: number;
content: string;
answer: string;
};

export const questionSetting = atom<{
status: PageStatus;
selectedData: SelectedData;
selectedData: SelectedData[];
}>({
key: 'questionSetting',
default: {
status: 'pending',
selectedData: {},
selectedData: [],
},
});

Expand Down

0 comments on commit 441cca7

Please sign in to comment.