From 3329ee51dd21cb40f4a453cce96e200efdd3714e Mon Sep 17 00:00:00 2001 From: "Gavin St. Ours" Date: Thu, 2 Nov 2023 13:22:48 -0400 Subject: [PATCH] Add a TODO reminder to use the Document type --- src/services/ui/src/api/useGetForm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/ui/src/api/useGetForm.ts b/src/services/ui/src/api/useGetForm.ts index c72ec4943c..5cb2f9eeca 100644 --- a/src/services/ui/src/api/useGetForm.ts +++ b/src/services/ui/src/api/useGetForm.ts @@ -2,6 +2,7 @@ import { useQuery } from "@tanstack/react-query"; import { API } from "aws-amplify"; import { ReactQueryApiError } from "shared-types"; +// TODO: Use the Document type here once it is in a shared location. export const getForm = async ( formId: string, formVersion?: string