Remove extraneous prop
This commit is contained in:
@@ -2,17 +2,15 @@
|
|||||||
import FileSelect from './FileSelect.svelte'
|
import FileSelect from './FileSelect.svelte'
|
||||||
import PreviewCanvas1x from './PreviewCanvas1x.svelte'
|
import PreviewCanvas1x from './PreviewCanvas1x.svelte'
|
||||||
import PreviewCanvas2x from './PreviewCanvas2x.svelte'
|
import PreviewCanvas2x from './PreviewCanvas2x.svelte'
|
||||||
|
|
||||||
let fileInputEl: HTMLInputElement | null = $state(null)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="stack gap-4" aria-labelledby="preview-section-label">
|
<section class="stack gap-4" aria-labelledby="preview-section-label">
|
||||||
<h2 class="font-semibold text-xl/6" id="preview-section-label">Choose an image</h2>
|
<h2 class="font-semibold text-xl/6" id="preview-section-label">Choose an image</h2>
|
||||||
|
|
||||||
<FileSelect bind:ref={fileInputEl} />
|
<FileSelect />
|
||||||
|
|
||||||
<div class="stack-h gap-4 max-md:stack">
|
<div class="stack-h gap-4 max-md:stack">
|
||||||
<PreviewCanvas2x {fileInputEl} />
|
<PreviewCanvas2x />
|
||||||
<PreviewCanvas1x />
|
<PreviewCanvas1x />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user