Skip to content

Commit 5c0beeb

Browse files
Merge pull request eduardconstantin#140 from eduardconstantin/fix/build-error
Fix/build error
2 parents ca85ddf + bce052e commit 5c0beeb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

components/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type Option = {
1111
export type Question = {
1212
question: string;
1313
options: Option[];
14-
images: Image[];
14+
images?: Image[];
1515
};
1616

1717
export type Props = {

profilerFunctions/useResults.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { Question } from "../components/types";
22

3-
interface Option {
4-
text: string;
5-
isAnswer: boolean;
6-
}
7-
83
interface Data {
94
questions: Question[];
105
answers: (string | string[])[];

0 commit comments

Comments
 (0)