Skip to content

Commit

Permalink
Remove comments and alphabetize imports in App.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliav committed Apr 4, 2024
1 parent 7d9dcc7 commit b7fbd03
Showing 1 changed file with 21 additions and 25 deletions.
46 changes: 21 additions & 25 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,29 @@ import {
useMatomo
} from '@jonkoops/matomo-tracker-react';
import {
Domain,
AdminTools,
AuthCreateAccount,
AuthLogin,
AuthLoginCreate,
AuthCreateAccount,
Scans,
Scan,
Domain,
Domains,
Feeds,
LoginGovCallback,
Notifications,
RegionUsers,
Reports,
Risk,
Organizations,
Scan,
// ScansView,
ScanTasksView,
Organization,
Users,
Organizations,
SearchPage,
Settings,
Vulnerabilities,
Vulnerability,
TermsOfUse,
SearchPage,
LoginGovCallback,
Feeds,
Domains,
Reports,
RegionUsers
Users,
Vulnerabilities,
Vulnerability
} from 'pages';
import { Layout, RouteGuard } from 'components';
import './styles.scss';
Expand Down Expand Up @@ -126,7 +128,6 @@ const App: React.FC = () => (
component={AuthCreateAccount}
/>
<Route exact path="/terms" component={TermsOfUse} />

<RouteGuard
exact
path="/inventory"
Expand Down Expand Up @@ -167,27 +168,22 @@ const App: React.FC = () => (
component={Reports}
permissions={['standard', 'globalView']}
/>
<RouteGuard
path="/admin-tools/notifications"
component={Notifications}
/>
<RouteGuard
path="/admin-tools/scans"
component={AdminTools}
// permissions={['standard', 'globalView']}
/>
{/* <RouteGuard
path="/admin-tools/scans"
exact
component={Scans}
// permissions={['standard', 'globalView']}
/> */}
<RouteGuard
path="/admin-tools/scans/history"
component={Scans}
component={ScanTasksView}
exact
// permissions={['standard', 'globalView']}
/>
<RouteGuard
path="/admin-tools/scans/:scanId"
component={Scan}
// permissions={['standard', 'globalView']}
/>
<RouteGuard
path="/organizations/:organizationId"
Expand Down

0 comments on commit b7fbd03

Please sign in to comment.