Skip to content

Commit 916354a

Browse files
committed
Fix linter errors
1 parent 0fdf993 commit 916354a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/connect-react/src/components/ControlSelect.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function ControlSelect<T>({
3030
select, theme,
3131
} = useCustomize();
3232

33-
const baseSelectProps: BaseReactSelectProps<any, any, any> = {
33+
const baseSelectProps: BaseReactSelectProps<never, never, never> = {
3434
styles: {
3535
container: (base): CSSObjectWithLabel => ({
3636
...base,
@@ -75,7 +75,9 @@ export function ControlSelect<T>({
7575
options,
7676
]);
7777

78-
const LoadMore = ({ children, ...props }) => {
78+
const LoadMore = ({
79+
children, ...props
80+
}) => {
7981
return (
8082
<components.MenuList {...props}>
8183
{children}
@@ -125,7 +127,9 @@ export function ControlSelect<T>({
125127
}
126128
} else if (typeof o === "object" && "value" in o) {
127129
if (prop.withLabel) {
128-
onChange({__lv: o});
130+
onChange({
131+
__lv: o,
132+
});
129133
} else {
130134
onChange(o.value);
131135
}

0 commit comments

Comments
 (0)