Skip to content

Commit

Permalink
added report and report view routes
Browse files Browse the repository at this point in the history
  • Loading branch information
TharindaPrabhath committed Nov 1, 2021
1 parent 5cbe9a9 commit 818fe63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ import Activity from "./screens/Activity";
import Settings from "./screens/Settings";
import useTokenService from "./utils/useTokenService";
import NewCertificateBulk from "./screens/NewBulkCertificate";
import Report from "./screens/Report";
import ReportView from "./screens/ReportView";

const theme = createTheme({
palette: {
Expand Down Expand Up @@ -129,6 +131,12 @@ function App() {
<ProtectedRoute path="/certificate/new-certificate-bulk" exact>
<NewCertificateBulk />
</ProtectedRoute>
<ProtectedRoute path="/report" exact>
<Report />
</ProtectedRoute>
<ProtectedRoute path="/report/:id" exact>
<ReportView />
</ProtectedRoute>
<ProtectedRoute path="/activity" exact>
<Activity />
</ProtectedRoute>
Expand Down

0 comments on commit 818fe63

Please sign in to comment.