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, })