chore(+page): file input is stateful

This commit is contained in:
Lewis Wynne 2026-03-24 16:50:24 +00:00
parent 7ccfda5d17
commit 247215691c

View file

@ -15,7 +15,7 @@
let importError = $state<string | null>(null);
let mobileView = $state<'edit' | 'preview' | 'split'>('split');
let showPicker = $state(false);
let emptyFileInput: HTMLInputElement;
let emptyFileInput = $state<HTMLInputElement>();
function checkHash() {
const hash = window.location.hash.slice(1);