File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 ComponentFormContainer , FrontendClientProvider ,
77} from "@pipedream/connect-react" ;
88import { fetchToken } from "./actions" ;
9- import { DynamicProps } from "../../../../src" ;
9+ import { DynamicProps } from "../../../../src" ;
1010
1111export 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 ) ;
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments