From 14dc331571d7e77741a63a364d198b8c68dba54b Mon Sep 17 00:00:00 2001 From: martapanc Date: Wed, 23 Aug 2023 20:45:12 +0200 Subject: [PATCH] fix: change explanation from TypedObject to string --- src/components/molecules/RandomFacts/Quiz.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/molecules/RandomFacts/Quiz.tsx b/src/components/molecules/RandomFacts/Quiz.tsx index 2c52cfc..2863d00 100644 --- a/src/components/molecules/RandomFacts/Quiz.tsx +++ b/src/components/molecules/RandomFacts/Quiz.tsx @@ -4,7 +4,6 @@ import FormControl from '@mui/material/FormControl'; import FormControlLabel from '@mui/material/FormControlLabel'; import Radio from '@mui/material/Radio'; import RadioGroup from '@mui/material/RadioGroup'; -import { TypedObject } from '@portabletext/types/src'; import * as React from 'react'; import { useState } from 'react'; @@ -17,7 +16,7 @@ import { RandomFact } from '@/types/RandomFact'; export interface QuizOption { headline: string; - explanation?: TypedObject; + explanation?: string; key?: string; }