Skip to content

Commit

Permalink
fix: change explanation from TypedObject to string
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Aug 23, 2023
1 parent 28e1007 commit 14dc331
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/molecules/RandomFacts/Quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -17,7 +16,7 @@ import { RandomFact } from '@/types/RandomFact';

export interface QuizOption {
headline: string;
explanation?: TypedObject;
explanation?: string;
key?: string;
}

Expand Down

0 comments on commit 14dc331

Please sign in to comment.