chore(+page): file input is stateful
This commit is contained in:
parent
7ccfda5d17
commit
247215691c
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
let importError = $state<string | null>(null);
|
let importError = $state<string | null>(null);
|
||||||
let mobileView = $state<'edit' | 'preview' | 'split'>('split');
|
let mobileView = $state<'edit' | 'preview' | 'split'>('split');
|
||||||
let showPicker = $state(false);
|
let showPicker = $state(false);
|
||||||
let emptyFileInput: HTMLInputElement;
|
let emptyFileInput = $state<HTMLInputElement>();
|
||||||
|
|
||||||
function checkHash() {
|
function checkHash() {
|
||||||
const hash = window.location.hash.slice(1);
|
const hash = window.location.hash.slice(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue