Skip to content

Commit

Permalink
fix preview not properly initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
kwangjong committed Jan 25, 2025
1 parent 2d72847 commit 876b721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/new/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<button on:click={render_preview}>preview</button>
</div>
<div class="markdown-body">
<div class='preview'></div>
<div class='preview' bind:this={preview} ></div>
<textarea bind:this={textarea}>{yaml_template}</textarea>
</div>
<div class="markdown-footer">
Expand Down

0 comments on commit 876b721

Please sign in to comment.