diff --git a/src/frontend/src/modals/shareModal/index.tsx b/src/frontend/src/modals/shareModal/index.tsx index f5450b69a7f..f616ab85ed1 100644 --- a/src/frontend/src/modals/shareModal/index.tsx +++ b/src/frontend/src/modals/shareModal/index.tsx @@ -21,7 +21,6 @@ import { downloadNode, removeApiKeys, removeFileNameFromComponents, - removeGlobalVariableFromComponents, } from "../../utils/reactflowUtils"; import BaseModal from "../baseModal"; import ConfirmationModal from "../confirmationModal"; @@ -95,7 +94,6 @@ export default function ShareModal({ const handleShareComponent = async (update = false) => { //remove file names from flows before sharing removeFileNameFromComponents(component); - removeGlobalVariableFromComponents(component); const flow: FlowType = removeApiKeys({ id: component!.id, data: component!.data,