Skip to content

Commit

Permalink
fix: #1885
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 2, 2023
1 parent 771aa63 commit cf83e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/src/components/Component.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
<div class="grid">
<div class="hidden" bind:this={jsxSlot}>
{#if $$slots.jsx}
<slot name="jsx" />
<pre use:htmlToJsx><slot name="jsx" /></pre>
{:else}
<slot name="html" />
<pre use:htmlToJsx><slot name="html" /></pre>
{/if}
</div>
<div class="code-wrapper col-start-1 row-start-1">
Expand Down

0 comments on commit cf83e51

Please sign in to comment.