File tree Expand file tree Collapse file tree
src/snapshots-app/client/bundles/components/submission/tabs/summary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,60 +294,58 @@ function SummaryTab({}) {
294294 >
295295 { menuItems [ activeIndex ] . component }
296296 </ Paper >
297-
297+
298298 < ProblemGanttPlot />
299299 </ Box >
300300 ) : (
301301 < CircularProgress />
302302 ) }
303303
304304 { chartsReady ? (
305- < >
306- < LineChart
307- xAxis = { xAxis }
308- series = { [
309- {
310- curve : "linear" ,
311- data : numLines ,
312- label : `# of lines in ${ firstFile } ` ,
313- } ,
314- ] }
315- height = { height }
316- />
317- < LineChart
318- margin = { { top : 100 } }
319- xAxis = { xAxis }
320- series = { [
321- {
322- curve : "linear" ,
323- data : numQuestionsSolved ,
324- label : "# of questions solved" ,
325- } ,
326- {
327- curve : "linear" ,
328- data : numQuestionsUnsolved ,
329- label : "# of questions unsolved" ,
330- } ,
331- ] }
332- height = { height }
333- />
334- < LineChart
335- xAxis = { xAxis }
336- series = { [
337- {
338- curve : "linear" ,
339- data : numAttempts ,
340- label : "# of attempts" ,
341- } ,
342- ] }
343- height = { height }
344- />
345- </ >
346- ) : (
347- < CircularProgress />
348- ) }
349-
350-
305+ < >
306+ < LineChart
307+ xAxis = { xAxis }
308+ series = { [
309+ {
310+ curve : "linear" ,
311+ data : numLines ,
312+ label : `# of lines in ${ firstFile } ` ,
313+ } ,
314+ ] }
315+ height = { height }
316+ />
317+ < LineChart
318+ margin = { { top : 100 } }
319+ xAxis = { xAxis }
320+ series = { [
321+ {
322+ curve : "linear" ,
323+ data : numQuestionsSolved ,
324+ label : "# of questions solved" ,
325+ } ,
326+ {
327+ curve : "linear" ,
328+ data : numQuestionsUnsolved ,
329+ label : "# of questions unsolved" ,
330+ } ,
331+ ] }
332+ height = { height }
333+ />
334+ < LineChart
335+ xAxis = { xAxis }
336+ series = { [
337+ {
338+ curve : "linear" ,
339+ data : numAttempts ,
340+ label : "# of attempts" ,
341+ } ,
342+ ] }
343+ height = { height }
344+ />
345+ </ >
346+ ) : (
347+ < CircularProgress />
348+ ) }
351349 </ Container >
352350 ) ;
353351}
You can’t perform that action at this time.
0 commit comments