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
commit ea40145b33

View file

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