feat: Add the ability to hide/show components without input/output (I/O). (#2669)

♻️ (use-row-data.tsx): remove redundant check for LANGFLOW_SUPPORTED_TYPES in useRowData hook
This commit is contained in:
Cristhian Zanforlin Lousa 2024-07-12 18:13:32 -03:00 committed by GitHub
commit 85161650bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,6 @@ const useRowData = (
return (
key.charAt(0) !== "_" &&
templateParam.show &&
LANGFLOW_SUPPORTED_TYPES.has(templateParam.type) &&
!(
(key === "code" && templateParam.type === "code") ||
(key.includes("code") && templateParam.proxy)