Skip to content

Commit

Permalink
[C] cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff authored and blnkt committed Oct 26, 2023
1 parent 56c8eb3 commit c8d683a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions components/content-blocks/Questions/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ export const QuestionLabel = styled.div`
}
}
&:first-child {
}
& > *:first-child {
display: inline;
}
Expand Down
2 changes: 1 addition & 1 deletion components/questions/SimpleQuestion/Widget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, ComponentType<any>> = {
Expand Down
2 changes: 1 addition & 1 deletion components/questions/SimpleQuestion/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}

Expand Down

0 comments on commit c8d683a

Please sign in to comment.