Skip to content

Commit 3cf17cf

Browse files
committed
fix rendering unsupported question type
1 parent ef589f5 commit 3cf17cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/detail/components/SpecQuestions.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ const SpecQuestions = ({
224224
_.assign(elemProps, { options: formatAddonOptions(filterAddonQuestions(productTemplates, q)) })
225225
break
226226
default:
227-
ChildElem = <noscript />
227+
ChildElem = () => <noscript />
228228
}
229229
// let titleAside = null
230230
let textValue = null

0 commit comments

Comments
 (0)