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