diff --git a/components/content-blocks/Questions/styles.ts b/components/content-blocks/Questions/styles.ts index b7fc96bf..3cea749b 100644 --- a/components/content-blocks/Questions/styles.ts +++ b/components/content-blocks/Questions/styles.ts @@ -39,9 +39,6 @@ export const QuestionLabel = styled.div` } } - &:first-child { - } - & > *:first-child { display: inline; } diff --git a/components/questions/SimpleQuestion/Widget/index.tsx b/components/questions/SimpleQuestion/Widget/index.tsx index b786b512..64025e82 100644 --- a/components/questions/SimpleQuestion/Widget/index.tsx +++ b/components/questions/SimpleQuestion/Widget/index.tsx @@ -6,7 +6,7 @@ export interface SimpleWidgetProps { value?: any; isDisabled?: boolean; onChangeCallback: (value: any) => void; - widgetConfig: { typeHandle: string; [key: string]: any }; + widgetConfig: { typeHandle: string; __typename: string; [key: string]: any }; } const WIDGET_MAP: Record> = { diff --git a/components/questions/SimpleQuestion/index.tsx b/components/questions/SimpleQuestion/index.tsx index b3cefef2..b0e47b9e 100644 --- a/components/questions/SimpleQuestion/index.tsx +++ b/components/questions/SimpleQuestion/index.tsx @@ -18,7 +18,7 @@ import * as Styled from "@/components/content-blocks/Questions/styles"; export interface SimpleQuestionProps extends BaseQuestionProps { type: SimpleQuestionType; questionText: string; - widgetConfig?: any; + widgetConfig?: { typeHandle: string; __typename: string; [key: string]: any }; options?: Option[]; }