Skip to content

Commit

Permalink
Use constant for path
Browse files Browse the repository at this point in the history
  • Loading branch information
scottybollinger committed Nov 4, 2020
1 parent df29c8f commit a0fde7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { AppLogic } from './app_logic';
import { Layout } from '../shared/layout';
import { WorkplaceSearchNav, WorkplaceSearchHeaderActions } from './components/layout';

import { SETUP_GUIDE_PATH } from './routes';
import { GROUPS_PATH, SETUP_GUIDE_PATH } from './routes';

import { SetupGuide } from './views/setup_guide';
import { ErrorState } from './views/error_state';
Expand Down Expand Up @@ -56,7 +56,7 @@ export const WorkplaceSearchConfigured: React.FC<IInitialAppData> = (props) => {
<ErrorState />
) : (
<Switch>
<Route path="/groups">
<Route path={GROUPS_PATH}>
<GroupsRouter />
</Route>
<Route>
Expand Down

0 comments on commit a0fde7b

Please sign in to comment.