Skip to content

Commit

Permalink
adding feature flag to download option
Browse files Browse the repository at this point in the history
  • Loading branch information
Courey authored and lpsinger committed Aug 25, 2023
1 parent 182a244 commit 6a7d20b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/routes/circulars._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { circularRedirect, search } from './circulars/circulars.server'
import type { action } from './circulars/route'
import Hint from '~/components/Hint'
import { usePagination } from '~/lib/pagination'
import { useFeature } from '~/root'

import searchImg from '~/../node_modules/nasawds/src/img/usa-icons-bg/search--white.svg'

Expand Down Expand Up @@ -374,7 +375,7 @@ export default function () {
)}
</div>
</div>
<DownloadModal />
{useFeature('DOWNLOAD') && <DownloadModal />}
</>
)}
</>
Expand Down

0 comments on commit 6a7d20b

Please sign in to comment.