Fixed keyless tooltip map that showed at Console.log

This commit is contained in:
Lucas Oliveira 2023-09-27 22:21:28 -03:00
commit 5ee7da93d3
2 changed files with 4 additions and 8 deletions

View file

@ -136,7 +136,7 @@ export default function ParameterComponent({
nodeIconsLucide[item.family] ?? nodeIconsLucide["unknown"];
return (
<>
<div key={index}>
{index === 0 && (
<span>
{left
@ -183,7 +183,7 @@ export default function ParameterComponent({
</span>
</span>
</span>
</>
</div>
);
});
} else {

View file

@ -17,11 +17,7 @@ import { alertContext } from "../../contexts/alertContext";
import { postValidatePrompt } from "../../controllers/API";
import { genericModalPropsType } from "../../types/components";
import { handleKeyDown } from "../../utils/reactflowUtils";
import {
classNames,
getRandomKeyByssmm,
varHighlightHTML,
} from "../../utils/utils";
import { classNames, varHighlightHTML } from "../../utils/utils";
import BaseModal from "../baseModal";
export default function GenericModal({
@ -257,7 +253,7 @@ export default function GenericModal({
{wordsHighlight.map((word, index) => (
<ShadTooltip
key={getRandomKeyByssmm() + index}
key={index}
content={word.replace(/[{}]/g, "")}
asChild={false}
>