mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
improvement: Tweak error message on image import (#2619)
* improvement: tweak error message on image import * tweak copy
This commit is contained in:
parent
4a89aba682
commit
b997e69ebc
4 changed files with 11 additions and 3 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue