UI fix linting errors
This commit is contained in:
parent
8a5ff84e49
commit
6dee76c580
@ -8,6 +8,7 @@ import { isAdminRole } from "@/utils/roles";
|
||||
import NotificationsManager from "../molecules/notifications_manager";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import SearchConnectionTest from "./search_connection_test";
|
||||
import Image from "next/image";
|
||||
|
||||
const { TextArea } = Input;
|
||||
|
||||
@ -27,12 +28,12 @@ interface SearchProviderLabelProps {
|
||||
|
||||
const SearchProviderLabel: React.FC<SearchProviderLabelProps> = ({ providerName, displayName }) => (
|
||||
<div style={{ display: "flex", alignItems: "center" }}>
|
||||
<img
|
||||
<Image
|
||||
src={getSearchProviderLogo(providerName)}
|
||||
alt=""
|
||||
width={20}
|
||||
height={20}
|
||||
style={{
|
||||
height: "20px",
|
||||
width: "20px",
|
||||
marginRight: "8px",
|
||||
objectFit: "contain",
|
||||
}}
|
||||
|
||||
@ -252,7 +252,7 @@ const SearchConnectionTest: React.FC<SearchConnectionTestProps> = ({
|
||||
<li style={{ marginBottom: "6px" }}>Verify your API key is correct and active</li>
|
||||
<li style={{ marginBottom: "6px" }}>Check if the search provider service is operational</li>
|
||||
<li style={{ marginBottom: "6px" }}>Ensure you have sufficient credits/quota with the provider</li>
|
||||
<li style={{ marginBottom: "6px" }}>Review the provider's documentation for any additional requirements</li>
|
||||
<li style={{ marginBottom: "6px" }}>Review the provider's documentation for any additional requirements</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,6 @@ import { ColumnDef } from "@tanstack/react-table";
|
||||
import { SearchTool } from "./types";
|
||||
import { Icon } from "@tremor/react";
|
||||
import { PencilAltIcon, TrashIcon } from "@heroicons/react/outline";
|
||||
import { Tooltip } from "antd";
|
||||
|
||||
export const searchToolColumns = (
|
||||
onView: (searchToolId: string) => void,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user