mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix language selection (#726)
This commit is contained in:
parent
3b20e6e2b8
commit
a7dc067dfe
3 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import { AppState } from "./types";
|
||||
import { getDateTime } from "./utils";
|
||||
import { getLanguage } from "./i18n";
|
||||
|
||||
const DEFAULT_PROJECT_NAME = `excalidraw-${getDateTime()}`;
|
||||
|
||||
|
@ -28,6 +29,7 @@ export function getDefaultAppState(): AppState {
|
|||
name: DEFAULT_PROJECT_NAME,
|
||||
isResizing: false,
|
||||
selectionElement: null,
|
||||
lng: getLanguage(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue