refac: think tag

This commit is contained in:
Timothy Jaeryang Baek committed 2025-01-22 09:24:40 -08:00
1 parent cf470e70e2
commit 9feed97f22
4 files changed
+42 -30

No files matched your search

@@ -195,11 +195,7 @@
</ul>
{/if}
{:else if token.type === 'details'}
<Collapsible
title={token.summary}
isLoading={token?.isLoading ?? false}
className="w-fit space-y-1"
>
<Collapsible title={token.summary} attributes={token?.attributes} className="w-fit space-y-1">
<div class=" mb-1.5" slot="content">
<svelte:self id={`${id}-${tokenIdx}-d`} tokens={marked.lexer(token.text)} />
</div>