Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions block-lexical-variables/src/warningHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down