Browse Source

Remove completed TODOs

master
buttercat1791 10 months ago
parent
commit
b9925813db
  1. 2
      src/lib/components/PublicationSection.svelte

2
src/lib/components/PublicationSection.svelte

@ -104,12 +104,10 @@ @@ -104,12 +104,10 @@
});
</script>
<!-- TODO: Correctly handle events that are the start of a content section. -->
<section bind:this={sectionRef} class='publication-leather content-visibility-auto'>
{#await Promise.all([leafTitle, leafContent, leafHierarchy, publicationType, divergingBranches])}
<TextPlaceholder size='xxl' />
{:then [leafTitle, leafContent, leafHierarchy, publicationType, divergingBranches]}
<!-- TODO: Ensure we render all headings, not just the first one. -->
{#each divergingBranches as [branch, depth]}
{@render sectionHeading(branch.getMatchingTags('title')[0]?.[1] ?? '', depth)}
{/each}

Loading…
Cancel
Save