feat: remove name from appState and use in component directly

This commit is contained in:
Aakansha Doshi 2024-02-05 15:05:01 +05:30
parent 0513b647ec
commit b2331ffd98
12 changed files with 46 additions and 33 deletions

View file

@ -45,6 +45,7 @@ import {
ResolvablePromise,
resolvablePromise,
isRunningInIframe,
getDateTime,
} from "../packages/excalidraw/utils";
import {
FIREBASE_STORAGE_PREFIXES,
@ -775,6 +776,7 @@ const ExcalidrawWrapper = () => {
excalidrawAPI.getSceneElements(),
excalidrawAPI.getAppState(),
excalidrawAPI.getFiles(),
`${t("labels.untitled")}-${getDateTime()}`,
);
}}
>