From 1967507b829b5606bd78f62bf38d478cd85bb9d8 Mon Sep 17 00:00:00 2001 From: Courey Elliott Date: Fri, 13 Sep 2024 13:27:08 -0400 Subject: [PATCH] removing feature flag check --- app/routes/synonyms/route.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/routes/synonyms/route.tsx b/app/routes/synonyms/route.tsx index 98059320d..367b72028 100644 --- a/app/routes/synonyms/route.tsx +++ b/app/routes/synonyms/route.tsx @@ -10,13 +10,12 @@ import { Outlet } from '@remix-run/react' import { GridContainer } from '@trussworks/react-uswds' import { getUser } from '../_auth/user.server' -import { feature } from '~/lib/env.server' export async function loader({ request }: LoaderFunctionArgs) { const user = await getUser(request) const isModerator = user?.groups.includes('gcn.nasa.gov/circular-moderator') - if (!isModerator || !feature('SYNONYMS')) { + if (!isModerator) { throw new Response(null, { status: 403, })