fix theme of TESelect

This commit is contained in:
Eng. Elias
2024-02-26 22:25:17 +04:00
parent e703726bcc
commit 6673e4258f
4 changed files with 67 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ import {
} from "tw-elements-react";
import Switch from "../inputs/switch";
import TWFileInput from "../inputs/file";
import { selectTheme } from "@/data/consts";
export default function AgentModal(props: {
agent: Agent | null;
@@ -120,6 +121,8 @@ export default function AgentModal(props: {
tools: newValue,
}));
}}
className="w-full"
theme={selectTheme}
/>
) : (
agent?.tools.map((tool) => (