feat: Add Lint & Format (#878)

Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
Co-authored-by: eigent-ai <camel@eigent.ai>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
This commit is contained in:
Tong Chen 2026-02-01 23:16:18 +08:00 committed by GitHub
parent f256272eed
commit af93bb3065
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
348 changed files with 48370 additions and 36145 deletions

View file

@ -12,27 +12,26 @@
// limitations under the License.
// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
import { Input } from "@/components/ui/input";
import { Search } from "lucide-react";
import { useTranslation } from "react-i18next";
import { Input } from '@/components/ui/input';
import { Search } from 'lucide-react';
import { useTranslation } from 'react-i18next';
interface SearchInputProps {
value: string;
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
value: string;
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
}
export default function SearchInput({ value, onChange }: SearchInputProps) {
const { t } = useTranslation();
return (
<div className="relative w-full">
<Input
size="sm"
value={value}
onChange={onChange}
placeholder={t("setting.search-mcp")}
leadingIcon={<Search className="w-5 h-5 text-icon-secondary" />}
/>
</div>
);
const { t } = useTranslation();
return (
<div className="relative w-full">
<Input
size="sm"
value={value}
onChange={onChange}
placeholder={t('setting.search-mcp')}
leadingIcon={<Search className="h-5 w-5 text-icon-secondary" />}
/>
</div>
);
}