Skip to content

Commit e8cc259

Browse files
committed
Fix qns history
1 parent 40700b4 commit e8cc259

File tree

1 file changed

+7
-0
lines changed
  • frontend/src/pages/QuestionHistoryDetail

1 file changed

+7
-0
lines changed

frontend/src/pages/QuestionHistoryDetail/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,13 @@ const QuestionHistoryDetail: React.FC = () => {
210210
complexity={qnState.selectedQuestion.complexity}
211211
categories={qnState.selectedQuestion.categories}
212212
description={qnState.selectedQuestion.description}
213+
cTemplate={qnState.selectedQuestion.cTemplate}
214+
javaTemplate={qnState.selectedQuestion.javaTemplate}
215+
pythonTemplate={qnState.selectedQuestion.pythonTemplate}
216+
inputTestCases={qnState.selectedQuestion.inputs}
217+
outputTestCases={qnState.selectedQuestion.outputs}
218+
showCodeTemplate={false}
219+
showTestCases={true}
213220
/>
214221
) : (
215222
<ServerError

0 commit comments

Comments
 (0)