Skip to content

Commit

Permalink
fix: warning: prop name is marked as required in ForwardRef(_c)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Sep 14, 2024
1 parent fde5200 commit 4a708bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const ProblemTypeSelect: React.FC<Props> = ({
return (
<Container style={{ width: '494px', height: '400px' }}>
<SelectableBox.Set
name="problem-type"
columns={1}
onChange={handleChange}
type={settings.type}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ exports[`ProblemTypeSelect snapshot DROPDOWN 1`] = `
>
<ForwardRef
columns={1}
name="problem-type"
onChange={[Function]}
type="radio"
value="optionresponse"
Expand Down Expand Up @@ -121,6 +122,7 @@ exports[`ProblemTypeSelect snapshot MULTISELECT 1`] = `
>
<ForwardRef
columns={1}
name="problem-type"
onChange={[Function]}
type="radio"
value="choiceresponse"
Expand Down Expand Up @@ -231,6 +233,7 @@ exports[`ProblemTypeSelect snapshot NUMERIC 1`] = `
>
<ForwardRef
columns={1}
name="problem-type"
onChange={[Function]}
type="radio"
value="numericalresponse"
Expand Down Expand Up @@ -341,6 +344,7 @@ exports[`ProblemTypeSelect snapshot SINGLESELECT 1`] = `
>
<ForwardRef
columns={1}
name="problem-type"
onChange={[Function]}
type="radio"
value="multiplechoiceresponse"
Expand Down Expand Up @@ -451,6 +455,7 @@ exports[`ProblemTypeSelect snapshot TEXTINPUT 1`] = `
>
<ForwardRef
columns={1}
name="problem-type"
onChange={[Function]}
type="radio"
value="stringresponse"
Expand Down

0 comments on commit 4a708bb

Please sign in to comment.