Skip to content

Commit

Permalink
fix(lesmis): Fix PDF export routing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexd-bes committed May 21, 2024
1 parent 535b656 commit d812a8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/lesmis/src/routes/PageRoutes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ export const PageRoutes = React.memo(() => {
</>
}
/>
<Route
path="/pdf-export/:entityCode?"
element={<ExportView viewType={PDF_DOWNLOAD_VIEW} />}
/>
<Route path="/pdf-export/:entityCode" element={<ExportView viewType={PDF_DOWNLOAD_VIEW} />} />
<Route path="/pdf-export" element={<ExportView viewType={PDF_DOWNLOAD_VIEW} />} />
<Route
path="/:entityCode/*"
element={
Expand Down

0 comments on commit d812a8c

Please sign in to comment.