improvement: Tweak error message on image import (#2619)

* improvement: tweak error message on image import

* tweak copy
This commit is contained in:
David Luzar 2020-12-20 16:11:44 +01:00 committed by GitHub
parent 4a89aba682
commit b997e69ebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View file

@ -9,7 +9,7 @@ import { AppState } from "../types";
import { restore } from "./restore";
import { ImportedDataState, LibraryData } from "./types";
export const parseFileContents = async (blob: Blob | File) => {
const parseFileContents = async (blob: Blob | File) => {
let contents: string;
if (blob.type === "image/png") {