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 a8030de commit 1772eefCopy full SHA for 1772eef
src/components/shared/ReactActionForm.tsx
@@ -19,6 +19,7 @@ import { useClientContext } from '@/hooks/useClientContext';
19
20
import SubmitButton from '@/components/shared/SubmitButton';
21
22
+import { FetchApiContext } from '@/constants';
23
import { consoleLog } from '@/utils/shared/console-log';
24
import { getApiResponse } from '@/utils/shared/get-api-response';
25
@@ -52,7 +53,7 @@ const ReactActionForm: React.FC = () => {
52
53
54
const { setAlertBarProps, renderAlertBar } = useAlertBar();
55
- const { fetchCount, updateClientCtx } = useClientContext();
56
+ const { fetchCount, updateClientCtx } = useClientContext<FetchApiContext>();
57
const [formErrors, setFormErrors] = React.useState<Record<string, string>>(
58
{}
59
);
0 commit comments