From b6c4ab0d37fac910b351df61b3af01a730930b58 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Thu, 7 Nov 2024 15:04:45 -0500 Subject: [PATCH] Add link from Circulars moderation page to original Circular --- .../circulars.moderation.$circularId.$requestor.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/routes/circulars.moderation.$circularId.$requestor.tsx b/app/routes/circulars.moderation.$circularId.$requestor.tsx index f5bdf846c..9c4cdfb93 100644 --- a/app/routes/circulars.moderation.$circularId.$requestor.tsx +++ b/app/routes/circulars.moderation.$circularId.$requestor.tsx @@ -7,7 +7,7 @@ */ import type { SEOHandle } from '@nasa-gcn/remix-seo' import type { ActionFunctionArgs, LoaderFunctionArgs } from '@remix-run/node' -import { Form, redirect, useLoaderData } from '@remix-run/react' +import { Form, Link, redirect, useLoaderData } from '@remix-run/react' import { Button, ButtonGroup, Checkbox } from '@trussworks/react-uswds' import { diffLines, diffWords } from 'diff' @@ -80,7 +80,12 @@ export default function () { const { circular, correction } = useLoaderData() return ( <> -

Circular {circular.circularId}

+

+ Circular{' '} + + {circular.circularId} + +

Original Author