We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca85ddf + bce052e commit 5c0beebCopy full SHA for 5c0beeb
components/types.ts
@@ -11,7 +11,7 @@ export type Option = {
11
export type Question = {
12
question: string;
13
options: Option[];
14
- images: Image[];
+ images?: Image[];
15
};
16
17
export type Props = {
profilerFunctions/useResults.tsx
@@ -1,10 +1,5 @@
1
import { Question } from "../components/types";
2
3
-interface Option {
4
- text: string;
5
- isAnswer: boolean;
6
-}
7
-
8
interface Data {
9
questions: Question[];
10
answers: (string | string[])[];
0 commit comments