left divider for first tab

This commit is contained in:
Red Adaya 2024-12-06 09:24:45 +08:00
parent 106975b1f0
commit b83fedffaf

View File

@ -202,7 +202,7 @@ const Tab = memo(
const showSeparator = useCallback( const showSeparator = useCallback(
(id) => { (id) => {
if (isFirst) return false; // if (isFirst) return false;
const idx = tabIds.indexOf(id); const idx = tabIds.indexOf(id);
const found = tabIndicesMoved.find((i, ii) => ii !== 0 && i === idx) === undefined; const found = tabIndicesMoved.find((i, ii) => ii !== 0 && i === idx) === undefined;