mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix
This commit is contained in:
parent
2351798a87
commit
18e95dd6dd
1 changed files with 3 additions and 7 deletions
|
@ -1777,14 +1777,10 @@ class App extends React.Component<AppProps, AppState> {
|
|||
this.setState({ errorMessage: error.message });
|
||||
});
|
||||
|
||||
if (
|
||||
type === "clipboard" ||
|
||||
(this.state.exportEmbedScene &&
|
||||
fileHandle &&
|
||||
isImageFileHandle(fileHandle))
|
||||
) {
|
||||
if (type === "clipboard" || (fileHandle && isImageFileHandle(fileHandle))) {
|
||||
this.setState({
|
||||
fileHandle: fileHandle ?? null,
|
||||
fileHandle:
|
||||
this.state.exportEmbedScene && fileHandle ? fileHandle : null,
|
||||
openDialog: null,
|
||||
toast: {
|
||||
message:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue