Browse Source

Remove unused function

master
buttercat1791 8 months ago
parent
commit
ff8cfd39ad
  1. 5
      src/lib/components/publications/table_of_contents.svelte.ts

5
src/lib/components/publications/table_of_contents.svelte.ts

@ -164,11 +164,6 @@ export class TableOfContents { @@ -164,11 +164,6 @@ export class TableOfContents {
return titleTag || event.tagAddress() || '[untitled]';
}
#normalizeHashPath(title: string): string {
// TODO: Confirm this uses good normalization logic to produce unique hrefs within the page.
return title.toLowerCase().replace(/ /g, '-');
}
async #buildTocEntry(address: string): Promise<TocEntry> {
const resolver = async () => {
if (entry.childrenResolved) {

Loading…
Cancel
Save