chore(richtext-lexical): improve block not found error message (#10348)

This commit is contained in:
Alessio Gravili
2025-01-03 22:16:26 -07:00
committed by GitHub
parent 5e4e27460e
commit 09d6c60e96

View File

@@ -21,7 +21,7 @@ export const blockValidationHOC = (
// validate block
if (!block) {
return 'Block not found'
return `Block ${blockFieldData.blockType} not found`
}
/**