Add empty placeholder text

This commit is contained in:
Philipinho
2025-04-22 22:48:12 +01:00
parent acffeacdbc
commit 0ec3ff2965

View File

@ -143,6 +143,12 @@ export const TableOfContents: FC<TableOfContentsProps> = (props) => {
{t("Add headings (H1, H2, H3) to generate a table of contents.")}
</Text>
)}
{props.isShare && (
<Text size="sm" c="dimmed">
{t("No table of contents.")}
</Text>
)}
</>
);
}