Skip to content

Commit e7863c4

Browse files
committed
Fix linter errors
1 parent a23439f commit e7863c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/connect-react/examples/nextjs/src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ComponentFormContainer, FrontendClientProvider,
77
} from "@pipedream/connect-react";
88
import { fetchToken } from "./actions";
9-
import {DynamicProps} from "../../../../src";
9+
import { DynamicProps } from "../../../../src";
1010

1111
export default function Home() {
1212
const userId = "my-authed-user-id";
@@ -25,7 +25,7 @@ export default function Home() {
2525
const [
2626
dynamicProps,
2727
setDynamicProps,
28-
] = useState<DynamicProps<any>>();
28+
] = useState<DynamicProps<{}>>();
2929

3030
return (
3131
<>
@@ -43,7 +43,7 @@ export default function Home() {
4343
userId,
4444
actionId: "slack-send-message",
4545
configuredProps,
46-
dynamicPropsId: dynamicProps?.id
46+
dynamicPropsId: dynamicProps?.id,
4747
});
4848
} catch (error) {
4949
console.error("Action run failed:", error);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const FormContextProvider = <T extends ConfigurableProps>({
139139
} = useQuery({
140140
queryKey: [
141141
"dynamicProps",
142-
queryKeyInput
142+
queryKeyInput,
143143
],
144144
queryFn: async () => {
145145
const { dynamicProps } = await client.componentReloadProps(componentReloadPropsInput);

0 commit comments

Comments
 (0)