{#if fetching}
{/if} {#if error && !fetching}

{error === 'Chapter not found' ? 'Chapter Not Found' : 'Error Loading Chapter'}

{error}

{/if} {#if chapter && !fetching}

{chapter.novelName}

Chapter {chapter.order}: {chapter.name}

{@html sanitizedBody}
{/if}