Fix build

This commit is contained in:
Marcel Mraz 2025-03-19 21:59:42 +01:00
parent 2569691cc6
commit ddac2e969a
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
14 changed files with 29 additions and 82 deletions

View file

@ -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,