Skip to content

Commit 50d9914

Browse files
committed
style: add back ul
1 parent 35f4405 commit 50d9914

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/editor/output/MarimoErrorOutput.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)