Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
fix bug
Abi Raja2f53540e2d6b
diff --git a/frontend/src/components/history/HistoryDisplay.tsx b/frontend/src/components/history/HistoryDisplay.tsxindex 216e5bbd..c13de1ed 100644--- a/frontend/src/components/history/HistoryDisplay.tsx+++ b/frontend/src/components/history/HistoryDisplay.tsx@@ -54,7 +54,7 @@ export default function HistoryDisplay({><div className="flex gap-x-1"><h2 className="text-sm">{displayHistoryItemType(item.type)}</h2>- {item.parentIndex && item.parentIndex !== index - 1 ? (+ {item.parentIndex !== null && item.parentIndex !== index - 1 ? (<h2 className="text-sm">(parent: v{(item.parentIndex || 0) + 1})</h2>