revert to using tab name

This commit is contained in:
Red Adaya 2024-12-04 22:11:53 +08:00
parent 1b8ac7f8bf
commit d6bda531df

View File

@ -230,8 +230,8 @@ const Tab = memo(
onKeyDown={handleKeyDown}
suppressContentEditableWarning={true}
>
{/* {tabData?.name} */}
{id.substring(id.length - 3)}
{tabData?.name}
{/* {id.substring(id.length - 3)} */}
</div>
<Button className="ghost grey close" onClick={onClose} onMouseDown={handleMouseDownOnClose}>
<i className="fa fa-solid fa-xmark" />