We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e4d51 commit 8a4661bCopy full SHA for 8a4661b
packages/connect-react/src/hooks/form-context.tsx
@@ -129,12 +129,13 @@ export const FormContextProvider = <T extends ConfigurableProps>({
129
configuredProps,
130
dynamicPropsId: dynamicProps?.id,
131
};
132
+ const queryKey = reloadPropIdx ? `dynamicProps:${reloadPropIdx}` : "dynamicProps"
133
const {
134
isFetching: dynamicPropsQueryIsFetching,
135
// TODO error
136
} = useQuery({
137
queryKey: [
- "dynamicProps",
138
+ queryKey
139
],
140
queryFn: async () => {
141
const { dynamicProps } = await client.componentReloadProps(componentReloadPropsInput);
0 commit comments