move footer into layerUI & refactor ActionManager (#729)

This commit is contained in:
David Luzar 2020-02-07 23:46:19 +01:00 committed by GitHub
parent 88eacc9da7
commit d79293de06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 164 additions and 179 deletions

View file

@ -1,6 +1,5 @@
import { AppState } from "./types";
import { getDateTime } from "./utils";
import { getLanguage } from "./i18n";
const DEFAULT_PROJECT_NAME = `excalidraw-${getDateTime()}`;
@ -29,7 +28,6 @@ export function getDefaultAppState(): AppState {
name: DEFAULT_PROJECT_NAME,
isResizing: false,
selectionElement: null,
lng: getLanguage(),
};
}