From f20da516a15d537145690ddb288e87b1812cccb3 Mon Sep 17 00:00:00 2001 From: Arun S Date: Wed, 1 Jan 2025 17:27:06 +0530 Subject: [PATCH] [Bugfix] Sonarcloud fix --- forms-flow-web/src/components/Form/List.js | 1 - 1 file changed, 1 deletion(-) diff --git a/forms-flow-web/src/components/Form/List.js b/forms-flow-web/src/components/Form/List.js index 8f387ae3c..bff9d5616 100644 --- a/forms-flow-web/src/components/Form/List.js +++ b/forms-flow-web/src/components/Form/List.js @@ -62,7 +62,6 @@ const List = React.memo((props) => { // const [formDescription, setFormDescription] = useState(""); const [nameError, setNameError] = useState(""); const dispatch = useDispatch(); - const redirectUrl = MULTITENANCY_ENABLED ? `/tenant/${tenantKey}/` : "/"; const submissionAccess = useSelector((state) => state.user?.submissionAccess || []); const [formSubmitted, setFormSubmitted] = useState(false);