File tree Expand file tree Collapse file tree
frontend/src/components/editor/output Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ export const MarimoErrorOutput = ({
406406
407407 if ( exceptionErrors . length > 0 ) {
408408 messages . push (
409- < div key = "exception" >
409+ < ul key = "exception" >
410410 { exceptionErrors . map ( ( error , idx ) => (
411411 < li className = "my-2" key = { `exception-${ idx } ` } >
412412 { error . raising_cell == null ? (
@@ -431,13 +431,13 @@ export const MarimoErrorOutput = ({
431431 </ Tip >
432432 ) }
433433 { cellId && < AutoFixButton errors = { exceptionErrors } cellId = { cellId } /> }
434- </ div > ,
434+ </ ul > ,
435435 ) ;
436436 }
437437
438438 if ( strictExceptionErrors . length > 0 ) {
439439 messages . push (
440- < div key = "strict-exception" >
440+ < ul key = "strict-exception" >
441441 { strictExceptionErrors . map ( ( error , idx ) => (
442442 < li className = "my-2" key = { `strict-exception-${ idx } ` } >
443443 { error . blamed_cell == null ? (
@@ -458,7 +458,7 @@ export const MarimoErrorOutput = ({
458458 ? "Ensure that the referenced cells define the required variables, or turn off strict execution."
459459 : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution." }
460460 </ Tip >
461- </ div > ,
461+ </ ul > ,
462462 ) ;
463463 }
464464
You can’t perform that action at this time.
0 commit comments