From a5bbc53cd477b61919e061b584783ed26eb2801c Mon Sep 17 00:00:00 2001 From: Kevin Haube Date: Thu, 21 Dec 2023 09:56:16 -0500 Subject: [PATCH] fix(package-actions): Wrap RespondToRai with package action checks (#274) --- src/services/ui/src/pages/actions/RespondToRai.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/services/ui/src/pages/actions/RespondToRai.tsx b/src/services/ui/src/pages/actions/RespondToRai.tsx index fc166a3347..c91f9eed54 100644 --- a/src/services/ui/src/pages/actions/RespondToRai.tsx +++ b/src/services/ui/src/pages/actions/RespondToRai.tsx @@ -19,6 +19,7 @@ import { useGetUser } from "@/api/useGetUser"; import { submit } from "@/api/submissionService"; import { useGetItem } from "@/api"; import { buildActionUrl } from "@/lib"; +import { PackageActionForm } from "@/pages/actions/PackageActionForm"; const formSchema = z.object({ additionalInformation: z.string().max(4000).optional(), @@ -60,7 +61,7 @@ const FormDescriptionText = () => { ); }; -export const RespondToRai = () => { +export const RespondToRaiForm = () => { const { id, type } = useParams<{ id: string; type: Action; @@ -316,3 +317,9 @@ export const RespondToRai = () => { ); }; + +export const RespondToRai = () => ( + + + +);