File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/components/Quiz/QuizWidget Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ const QuizWidget: React.FC<IProps> = (props) => {
61
61
// Render QuizWidget component
62
62
return (
63
63
< VStack spacing = "12" width = "full" maxW = "600px" >
64
- { /* Hide heading if quiz is not in Learning Quizzes Hub page */ }
65
- { isStandaloneQuiz && < StandaloneQuizHeading /> }
66
64
{ /* Inner Container */ }
67
65
< Stack
68
66
w = "full"
@@ -151,7 +149,8 @@ export default QuizWidget
151
149
* For use of the widget on single pages (not the quizzes page)
152
150
*/
153
151
export const StandaloneQuizWidget = ( props : IProps ) => (
154
- < Center my = "16" >
155
- < QuizWidget { ...props } isStandaloneQuiz />
156
- </ Center >
152
+ < VStack spacing = "12" my = "16" >
153
+ < StandaloneQuizHeading />
154
+ < QuizWidget { ...props } />
155
+ </ VStack >
157
156
)
You can’t perform that action at this time.
0 commit comments