improvement: Tweak error message on image import (#2619)
* improvement: tweak error message on image import * tweak copy
This commit is contained in:
@ -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") {
|
||||
|
Reference in New Issue
Block a user