add export error handling (#2243)

This commit is contained in:
David Luzar 2020-10-16 11:53:40 +02:00 committed by GitHub
parent 25d460be96
commit 538f2be097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 40 deletions

View file

@ -111,7 +111,7 @@ export const ShapesSwitcher = ({
isLibraryOpen,
}: {
elementType: ExcalidrawElement["type"];
setAppState: (appState: Partial<AppState>) => void;
setAppState: React.Component<any, AppState>["setState"];
isLibraryOpen: boolean;
}) => (
<>