This commit is contained in:
Abi Raja 2023-12-07 11:41:28 -05:00
parent b45e9dea29
commit 2f53540e2d

View File

@ -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>