From d882d01e07b4f35c22cd9161068ce33104fff2b6 Mon Sep 17 00:00:00 2001 From: chenyizhongx <31769726+chenyizhongx@users.noreply.github.com> Date: Wed, 1 Apr 2026 21:00:52 +0800 Subject: [PATCH] `fix(web): remove duplicate "Execution Flow" heading in Deep Dive` (#151) --- .../architecture/execution-flow.tsx | 77 +++++++++---------- 1 file changed, 36 insertions(+), 41 deletions(-) diff --git a/web/src/components/architecture/execution-flow.tsx b/web/src/components/architecture/execution-flow.tsx index 986560c..efeb1b7 100644 --- a/web/src/components/architecture/execution-flow.tsx +++ b/web/src/components/architecture/execution-flow.tsx @@ -2,7 +2,6 @@ import { useEffect, useState } from "react"; import { motion } from "framer-motion"; -import { useTranslations } from "@/lib/i18n"; import { getFlowForVersion } from "@/data/execution-flows"; import type { FlowNode, FlowEdge } from "@/types/agent-data"; @@ -186,7 +185,6 @@ interface ExecutionFlowProps { } export function ExecutionFlow({ version }: ExecutionFlowProps) { - const t = useTranslations("version"); const [flow, setFlow] = useState>(null); useEffect(() => { @@ -198,46 +196,43 @@ export function ExecutionFlow({ version }: ExecutionFlowProps) { const maxY = Math.max(...flow.nodes.map((n) => n.y)) + 50; return ( -
-

{t("execution_flow")}

-
- - - - - - +
+ + + + + + - {flow.edges.map((edge, i) => ( - - ))} + {flow.edges.map((edge, i) => ( + + ))} - {flow.nodes.map((node, i) => ( - - - - ))} - -
-
+ {flow.nodes.map((node, i) => ( + + + + ))} + + ); }