mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix build
This commit is contained in:
parent
2569691cc6
commit
ddac2e969a
14 changed files with 29 additions and 82 deletions
|
@ -61,7 +61,9 @@ const validateIndicesThrottled = throttle(
|
|||
|
||||
validateFractionalIndices(elements, {
|
||||
// throw in dev & test only, to remain functional on `DEBUG_FRACTIONAL_INDICES`
|
||||
shouldThrow: import.meta.env.DEV || import.meta.env.MODE === ENV.TEST,
|
||||
shouldThrow: Boolean(
|
||||
import.meta.env.DEV || import.meta.env.MODE === ENV.TEST,
|
||||
),
|
||||
includeBoundTextValidation: true,
|
||||
reconciliationContext: {
|
||||
localElements,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue