fileHandle refactor & fixes (#2252)

This commit is contained in:
David Luzar
2020-10-19 10:53:37 +02:00
committed by GitHub
parent 4a26845395
commit 1484c5a63b
17 changed files with 163 additions and 41 deletions

View File

@ -66,9 +66,6 @@ export type SocketUpdateDataIncoming =
type: "INVALID_RESPONSE";
};
// TODO: Make this part of `AppState`.
(window as any).handle = null;
const byteToHex = (byte: number): string => `0${byte.toString(16)}`.slice(-2);
const generateRandomID = async () => {