mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
[FIX] Passed all test cases
This commit is contained in:
parent
d430c12de6
commit
7b837ac8ee
1 changed files with 5 additions and 2 deletions
|
@ -1950,6 +1950,11 @@ class App extends React.Component<AppProps, AppState> {
|
|||
frameElement,
|
||||
data: { status: "done", html: parsedHtml },
|
||||
});
|
||||
|
||||
this.setState({
|
||||
selectedElementIds: { [frameElement.id]: true },
|
||||
});
|
||||
|
||||
} catch (error: any) {
|
||||
trackEvent("ai", "generate (failed)", "d2c");
|
||||
this.updateMagicGeneration({
|
||||
|
@ -2991,8 +2996,6 @@ class App extends React.Component<AppProps, AppState> {
|
|||
),
|
||||
});
|
||||
|
||||
this.actionManager.executeAction(actionFinalize);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue