We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a59a17 commit 3cdfca7Copy full SHA for 3cdfca7
1 file changed
src/pages/Plan/modules/Factory/modules/Tasks/Component/parts/CreateTaskListsWithAI.tsx
@@ -15,10 +15,8 @@ import {
15
useGetServicesApiKJobsByJobIdQuery,
16
usePostServicesApiKUsecasesMutation,
17
} from 'src/features/api';
18
-import { useModule } from 'src/features/modules/useModule';
19
20
export const CreateTaskListsWithAI = () => {
21
- const { set } = useModule('tasks');
22
const { planId } = useParams();
23
const MIN_LENGTH = 1;
24
const [userPrompt, setUserPrompt] = useState('');
@@ -33,7 +31,7 @@ export const CreateTaskListsWithAI = () => {
33
31
{ jobId: jobData?.jobId || '' },
34
32
{
35
skip: !jobData?.jobId,
36
- pollingInterval: pollingInterval, // 0 for no polling, 3000 for polling every 3 seconds
+ pollingInterval, // number in ms or 0 for no polling
37
}
38
);
39
0 commit comments