fix: remove redundant description from Prompt modal (#7139)

Removed description from prompt modal
This commit is contained in:
Lucas Oliveira 2025-03-19 21:34:13 -03:00 committed by GitHub
commit 7b7a23fa45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,6 @@ import {
EDIT_TEXT_PLACEHOLDER,
INVALID_CHARACTERS,
MAX_WORDS_HIGHLIGHT,
PROMPT_DIALOG_SUBTITLE,
regexHighlight,
} from "../../constants/constants";
import useAlertStore from "../../stores/alertStore";
@ -217,17 +216,17 @@ export default function PromptModal({
<BaseModal.Trigger disable={disabled} asChild>
{children}
</BaseModal.Trigger>
<BaseModal.Header description={PROMPT_DIALOG_SUBTITLE}>
<BaseModal.Header>
<div className="flex w-full items-start gap-3">
<div className="flex">
<span className="pr-2" data-testid="modal-title">
Edit Prompt
</span>
<IconComponent
name="TerminalSquare"
className="h-6 w-6 pl-1 text-primary"
className="h-6 w-6 pr-1 text-primary"
aria-hidden="true"
/>
<span className="pl-2" data-testid="modal-title">
Edit Prompt
</span>
</div>
</div>
</BaseModal.Header>