fix: remove redundant description from Prompt modal (#7139)
Removed description from prompt modal
This commit is contained in:
parent
5493ac7b0b
commit
7b7a23fa45
1 changed files with 5 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue