Skip to content

Commit 0ec3ff2

Browse files
committed
Add empty placeholder text
1 parent acffeac commit 0ec3ff2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/client/src/features/editor/components/table-of-contents/table-of-contents.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ export const TableOfContents: FC<TableOfContentsProps> = (props) => {
143143
{t("Add headings (H1, H2, H3) to generate a table of contents.")}
144144
</Text>
145145
)}
146+
147+
{props.isShare && (
148+
<Text size="sm" c="dimmed">
149+
{t("No table of contents.")}
150+
</Text>
151+
)}
146152
</>
147153
);
148154
}

0 commit comments

Comments
 (0)