Fix: Add value prop initial value to prevent it from breaking when open edit node modal

This commit is contained in:
igorrCarvalho 2024-01-17 13:42:36 -03:00 • committed by Lucas Oliveira
commit a2096b8e0b

View file

@ -6,7 +6,7 @@ import { classNames } from "../../utils/utils";
import { Input } from "../ui/input"; import { Input } from "../ui/input";
export default function DictComponent({ export default function DictComponent({
value, value = [],
onChange, onChange,
disabled, disabled,
editNode = false, editNode = false,