mirror of
https://github.com/docmost/docmost.git
synced 2025-11-11 09:02:06 +10:00
Add empty placeholder text
This commit is contained in:
@ -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>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user