From bf9d5da4e99326b034d69ed064d5927b0eeb2e3e Mon Sep 17 00:00:00 2001 From: TannerGabriel Date: Wed, 27 Aug 2025 17:57:25 +0200 Subject: [PATCH] Remove block.warning check since the property has been removed --- block-lexical-variables/src/warningHandler.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/block-lexical-variables/src/warningHandler.js b/block-lexical-variables/src/warningHandler.js index cefba47..fa3a6d9 100644 --- a/block-lexical-variables/src/warningHandler.js +++ b/block-lexical-variables/src/warningHandler.js @@ -73,10 +73,8 @@ export default class WarningHandler { } } - // remove the warning icon, if there is one - if (block.warning) { - block.setWarningText(null); - } + // remove the warning icon + block.setWarningText(null); if (block.hasWarning) { block.hasWarning = false; }