remove dependency of i18n from getDefaultAppState and make it pure

This commit is contained in:
Aakansha Doshi 2020-12-27 18:18:07 +05:30
parent bc414ccaaf
commit eda35a25b3
15 changed files with 123 additions and 90 deletions

View file

@ -10,7 +10,6 @@ import {
duplicateElement,
isInvisiblySmallElement,
isTextElement,
textWysiwyg,
getCommonBounds,
getCursorForResizingElement,
getPerfectElementSize,
@ -177,6 +176,7 @@ import {
trackEvent,
} from "../analytics";
import { Stats } from "./Stats";
import { textWysiwyg } from "../element/textWysiwyg";
const { history } = createHistory();