From a2096b8e0bf4d15ff90895ea020f4a335c1b5a9f Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Wed, 17 Jan 2024 13:42:36 -0300 Subject: [PATCH] Fix: Add value prop initial value to prevent it from breaking when open edit node modal --- src/frontend/src/components/dictComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/dictComponent/index.tsx b/src/frontend/src/components/dictComponent/index.tsx index 066819ba1..2cf622e93 100644 --- a/src/frontend/src/components/dictComponent/index.tsx +++ b/src/frontend/src/components/dictComponent/index.tsx @@ -6,7 +6,7 @@ import { classNames } from "../../utils/utils"; import { Input } from "../ui/input"; export default function DictComponent({ - value, + value = [], onChange, disabled, editNode = false,