File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/features/admin-panel/tests-admin Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ const TestAttemptDetail: FC = () => {
261261 gap : 1 ,
262262 } }
263263 >
264- { questionResult . testAnswerResults ?. map (
264+ { questionResult ! . testAnswerResults ?. map (
265265 ( answerResult ) => (
266266 < Chip
267267 key = { answerResult ?. testAnswer ?. id }
@@ -282,7 +282,7 @@ const TestAttemptDetail: FC = () => {
282282 gap : 1 ,
283283 } }
284284 >
285- { questionResult . testAnswerResults ?. map (
285+ { questionResult ! . testAnswerResults ?. map (
286286 ( answerResult ) => (
287287 < Chip
288288 key = { answerResult ?. testAnswer ?. id }
@@ -302,12 +302,12 @@ const TestAttemptDetail: FC = () => {
302302 < TableCell >
303303 < Chip
304304 label = {
305- questionResult . result
305+ questionResult ! . result
306306 ? "Правильно"
307307 : "Неправильно"
308308 }
309309 color = {
310- questionResult . result ? "success" : "error"
310+ questionResult ! . result ? "success" : "error"
311311 }
312312 size = "small"
313313 />
You can’t perform that action at this time.
0 commit comments