diff --git a/src/frontend/src/icons/Postgres/Postgres.jsx b/src/frontend/src/icons/Postgres/Postgres.jsx new file mode 100644 index 000000000..95059e729 --- /dev/null +++ b/src/frontend/src/icons/Postgres/Postgres.jsx @@ -0,0 +1,67 @@ +export const SvgPostgres = (props) => ( + + + + + + + + + + + + + + + + + + + + + + + + + +); +export default SvgPostgres; diff --git a/src/frontend/src/icons/Postgres/Redis.svg b/src/frontend/src/icons/Postgres/Postgres.svg similarity index 100% rename from src/frontend/src/icons/Postgres/Redis.svg rename to src/frontend/src/icons/Postgres/Postgres.svg diff --git a/src/frontend/src/icons/Postgres/Redis.jsx b/src/frontend/src/icons/Postgres/Redis.jsx deleted file mode 100644 index f1063f52b..000000000 --- a/src/frontend/src/icons/Postgres/Redis.jsx +++ /dev/null @@ -1,67 +0,0 @@ -export const SvgPostgres = (props) => ( - - - - - - - - - - - - - - - - - - - - - - - - - -); -export default SvgPostgres; diff --git a/src/frontend/src/icons/Postgres/index.tsx b/src/frontend/src/icons/Postgres/index.tsx index b7da5264c..0bd7cdaef 100644 --- a/src/frontend/src/icons/Postgres/index.tsx +++ b/src/frontend/src/icons/Postgres/index.tsx @@ -1,5 +1,5 @@ import React, { forwardRef } from "react"; -import SvgPostgres from "./Redis"; +import SvgPostgres from "./Postgres"; export const PostgresIcon = forwardRef< SVGSVGElement, diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index 1ae649269..2826e23c2 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -124,7 +124,7 @@ import { XCircle, Zap, } from "lucide-react"; -import { FaApple, FaGithub } from "react-icons/fa"; +import { FaApple, FaGithub, FaRobot } from "react-icons/fa"; import { AWSIcon } from "../icons/AWS"; import { AirbyteIcon } from "../icons/Airbyte"; import { AnthropicIcon } from "../icons/Anthropic"; @@ -268,6 +268,7 @@ export const nodeIconsLucide: iconsType = { Redis: RedisIcon, RedisSearch: RedisIcon, PostgresChatMessageHistory: PostgresIcon, + BaiduQianfan: FaRobot, Play, Vectara: VectaraIcon, ArrowUpToLine: ArrowUpToLine,