Skip to content

Commit

Permalink
Merge pull request #834 from US-Trustee-Program/CAMS-280-login-bug
Browse files Browse the repository at this point in the history
CAMS -280 - Simplify default route logic
  • Loading branch information
btposey authored Aug 12, 2024
2 parents c76d90e + 15099e5 commit 909fe73
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 31 deletions.
4 changes: 1 addition & 3 deletions user-interface/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useAppInsights } from './lib/hooks/UseApplicationInsights';
import { useState } from 'react';
import { withLDProvider } from 'launchdarkly-react-client-sdk';
import { getFeatureFlagConfiguration } from './configuration/featureFlagConfiguration';
import Home from './home/Home';
import CaseAssignment from './case-assignment/CaseAssignmentScreen';
import CaseDetailScreen from './case-detail/CaseDetailScreen';
import NotFound from './error/NotFound';
Expand All @@ -14,8 +13,8 @@ import DataVerificationScreen from './data-verification/DataVerificationScreen';
import useFeatureFlags, { TRANSFER_ORDERS_ENABLED } from './lib/hooks/UseFeatureFlags';
import SearchScreen from './search/SearchScreen';
import { PrivacyActFooter } from './lib/components/uswds/PrivacyActFooter';
import './App.scss';
import { MyCasesScreen } from './my-cases/MyCasesScreen';
import './App.scss';

const featureFlagConfig = getFeatureFlagConfiguration();

Expand Down Expand Up @@ -52,7 +51,6 @@ function App() {
<Header />
<div className="cams-content">
<Routes>
<Route path="/" element={<Home />}></Route>
<Route path="/search" element={<SearchScreen />}></Route>
<Route path="/search/:caseId" element={<SearchScreen />}></Route>
<Route path="/case-assignment" element={<CaseAssignment />}></Route>
Expand Down
3 changes: 0 additions & 3 deletions user-interface/src/home/Home.scss

This file was deleted.

12 changes: 0 additions & 12 deletions user-interface/src/home/Home.test.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions user-interface/src/home/Home.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion user-interface/src/login/login-library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const LOGIN_PROVIDER_CONFIG_ENV_VAR_NAME = 'CAMS_LOGIN_PROVIDER_CONFIG';

export const LOGIN_PATH = '/login';
export const LOGIN_CONTINUE_PATH = '/login-continue';
export const LOGIN_SUCCESS_PATH = '/';
export const LOGIN_SUCCESS_PATH = '/my-cases';
export const LOGOUT_PATH = '/logout';
export const LOGOUT_SESSION_END_PATH = '/session-end';
export const LOGIN_PATHS = [LOGIN_PATH, LOGIN_CONTINUE_PATH, LOGOUT_PATH, LOGOUT_SESSION_END_PATH];
Expand Down

0 comments on commit 909fe73

Please sign in to comment.