Adding constants pattern, textfile edit node fix
This commit is contained in:
parent
8d03db2834
commit
10b3ad711e
7 changed files with 67 additions and 23 deletions
|
|
@ -21,7 +21,7 @@ import {
|
|||
DialogTrigger,
|
||||
} from "../../components/ui/dialog";
|
||||
import { Button } from "../../components/ui/button";
|
||||
import { modalSubtitle } from "../modal-texts";
|
||||
import { CODE_PROMPT_DIALOG_SUBTITLE } from "../../constants";
|
||||
|
||||
export default function CodeAreaModal({
|
||||
value,
|
||||
|
|
@ -56,9 +56,7 @@ export default function CodeAreaModal({
|
|||
aria-hidden="true"
|
||||
/>
|
||||
</DialogTitle>
|
||||
<DialogDescription>
|
||||
{modalSubtitle['codeprompt']}
|
||||
</DialogDescription>
|
||||
<DialogDescription>{CODE_PROMPT_DIALOG_SUBTITLE}</DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
<div className="flex h-full w-full mt-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue