fix: reset position before demanding new data for frame decryption

This commit is contained in:
Samuel 2025-01-19 18:56:43 +01:00
parent 8ff12e49bb
commit 6bb11e60b7
2 changed files with 3 additions and 2 deletions

View file

@ -133,6 +133,7 @@ const App: Component = () => {
<input
type="file"
id="backup-input"
accept=".backup"
onChange={(event) => {
setBackupFile(event.currentTarget.files?.[0]);
}}