Common imports dedup

This commit is contained in:
Marcel Mraz 2025-03-24 10:04:34 +01:00
parent 49ee6fbc14
commit ba0a9e0cb4
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
9 changed files with 32 additions and 29 deletions

View file

@ -11,6 +11,10 @@ import {
IDLE_THRESHOLD,
ACTIVE_THRESHOLD,
UserIdleState,
assertNever,
preventUnload,
resolvablePromise,
throttleRAF,
} from "@excalidraw/common";
import { decryptData } from "@excalidraw/excalidraw/data/encryption";
import { getVisibleSceneBounds } from "@excalidraw/element/bounds";
@ -22,12 +26,7 @@ import {
import { AbortError } from "@excalidraw/excalidraw/errors";
import { t } from "@excalidraw/excalidraw/i18n";
import { withBatchedUpdates } from "@excalidraw/excalidraw/reactUtils";
import {
assertNever,
preventUnload,
resolvablePromise,
throttleRAF,
} from "@excalidraw/common";
import throttle from "lodash.throttle";
import { PureComponent } from "react";