From 5ea20aa2f011050ecec899231f789ca2bf9ecfa6 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 19 Jun 2023 10:55:18 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20refactor(constants.tsx):=20remov?= =?UTF-8?q?e=20unnecessary=20indentation=20in=20getPythonCode=20function?= =?UTF-8?q?=20The=20indentation=20of=20the=20commented=20line=20in=20the?= =?UTF-8?q?=20getPythonCode=20function=20was=20unnecessary=20and=20has=20b?= =?UTF-8?q?een=20removed=20to=20improve=20code=20readability.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/constants.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/constants.tsx b/src/frontend/src/constants.tsx index 34d20211a..0e9a9ad3d 100644 --- a/src/frontend/src/constants.tsx +++ b/src/frontend/src/constants.tsx @@ -123,9 +123,9 @@ export const getPythonCode = (flow: FlowType): string => { const flowName = flow.name; return `from langflow import load_flow_from_json - flow = load_flow_from_json("${flowName}.json") - # Now you can use it like any chain - flow("Hey, have you heard of LangFlow?")`; +flow = load_flow_from_json("${flowName}.json") +# Now you can use it like any chain +flow("Hey, have you heard of LangFlow?")`; }; /**