Remove the warningMessage field for command args (#7005)

This commit is contained in:
Pierre Jacquier
2025-05-16 11:41:33 -04:00
committed by GitHub
parent 47b159c605
commit 49d4f8e5c3
6 changed files with 0 additions and 20 deletions

View File

@ -159,11 +159,6 @@ function CommandBarSelectionInput({
: `Please select ${
arg.multiple ? 'one or more ' : 'one '
}${getSemanticSelectionType(arg.selectionTypes).join(' or ')}`}
{arg.warningMessage && (
<p className="text-warn-80 bg-warn-10 px-2 py-1 rounded-sm mt-3 mr-2 -mb-2 w-full text-sm cursor-default">
{arg.warningMessage}
</p>
)}
<span data-testid="cmd-bar-arg-name" className="sr-only">
{arg.name}
</span>