Skip to content

Commit

Permalink
task: Keep MarkdownTest available in DEV environment only
Browse files Browse the repository at this point in the history
  • Loading branch information
meissadia committed May 2, 2024
1 parent 7634c94 commit 081261c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/App.tsx
Expand Up @@ -190,14 +190,16 @@ export default function App(): ReactElement {
<Routes>
<Route path='/' element={<BasicLayout />}>
<Route path='/' element={<FilingHome />} />
<Route
path='/markdown'
element={
<ProtectedRoute {...ProtectedRouteAuthorizations}>
<MarkdownText />
</ProtectedRoute>
}
/>
{import.meta.env.DEV ? (
<Route
path='/markdown'
element={
<ProtectedRoute {...ProtectedRouteAuthorizations}>
<MarkdownText />
</ProtectedRoute>
}
/>
) : null}
<Route
path='/filing/:year/:lei/upload'
element={
Expand Down

0 comments on commit 081261c

Please sign in to comment.