Skip to content

Commit

Permalink
Merge pull request #140 from eduardconstantin/fix/build-error
Browse files Browse the repository at this point in the history
Fix/build error
  • Loading branch information
eduardconstantin authored Nov 5, 2024
2 parents ca85ddf + bce052e commit 5c0beeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type Option = {
export type Question = {
question: string;
options: Option[];
images: Image[];
images?: Image[];
};

export type Props = {
Expand Down
5 changes: 0 additions & 5 deletions profilerFunctions/useResults.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { Question } from "../components/types";

interface Option {
text: string;
isAnswer: boolean;
}

interface Data {
questions: Question[];
answers: (string | string[])[];
Expand Down

0 comments on commit 5c0beeb

Please sign in to comment.