From f1171ee2226686644d5035672e8cb11845afadbb Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Mon, 18 Sep 2023 22:59:52 +0530 Subject: [PATCH] fix: subloop read-only typeerror bug --- frontend/src/views/AppCreator.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/AppCreator.jsx b/frontend/src/views/AppCreator.jsx index 9b7646bd..062b9fee 100755 --- a/frontend/src/views/AppCreator.jsx +++ b/frontend/src/views/AppCreator.jsx @@ -286,7 +286,7 @@ const getJsonObject = (properties) => { for (let key in properties) { const property = properties[key]; - const subloop = false + let subloop = false if (property.hasOwnProperty("type")) { if (property.type === "object" || property.type === "array") { subloop = true