Skip to content

Commit 9c3edea

Browse files
committed
Type errors
1 parent 44fe957 commit 9c3edea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/connect-react/src/hooks/form-context.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
import isEqual from "lodash.isequal";
55
import { useQuery } from "@tanstack/react-query";
66
import type {
7-
ComponentReloadPropsOpts, ConfigurableProp, ConfigurableProps, ConfiguredProps, V1Component, PropValue,
7+
ComponentReloadPropsOpts, ConfigurableProp, ConfigurableProps, ConfiguredProps, V1Component,
88
} from "@pipedream/sdk";
99
import { useFrontendClient } from "./frontend-client-context";
1010
import type { ComponentFormProps } from "../components/ComponentForm";
@@ -166,7 +166,7 @@ export const FormContextProvider = <T extends ConfigurableProps>({
166166

167167
// these validations are necessary because they might override PropInput for number case for instance
168168
// so can't rely on that base control form validation
169-
const propErrors = <T extends ConfigurableProps>(prop: ConfigurableProp, value: unknown): string[] => {
169+
const propErrors = (prop: ConfigurableProp, value: unknown): string[] => {
170170
const errs: string[] = [];
171171
if (value === undefined) {
172172
if (!prop.optional) {

0 commit comments

Comments
 (0)