Skip to content

Commit

Permalink
use select not auto complete
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 13, 2025
1 parent 852de40 commit d1871eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { CheckCircleFilled } from '@ant-design/icons';
import { ModelIcon } from '@lobehub/icons';
import { Alert, Highlighter, Icon } from '@lobehub/ui';
import { AutoComplete, Button, Space } from 'antd';
import { Button, Select, Space } from 'antd';
import { useTheme } from 'antd-style';
import { Loader2Icon } from 'lucide-react';
import { ReactNode, memo, useState } from 'react';
Expand Down Expand Up @@ -124,7 +124,7 @@ const Checker = memo<ConnectionCheckerProps>(
return (
<Flexbox align={isMobile ? 'flex-start' : 'flex-end'} gap={8}>
<Space.Compact block>
<AutoComplete
<Select
listItemHeight={36}
onSelect={async (value) => {
setCheckModel(value);
Expand Down

0 comments on commit d1871eb

Please sign in to comment.