Skip to content

Commit

Permalink
update1
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Tackett <tackadam@amazon.com>
  • Loading branch information
Adam Tackett committed Jul 1, 2024
1 parent 6f2678d commit 8a86c8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const pages = {
dashboards: CustomPanelsHome,
integrations: IntegrationsHome,
dataconnections: DataConnectionsHome,
gettingstarted: GettingStartedHome,
gettingStarted: GettingStartedHome,
};

export const App = ({
Expand Down
6 changes: 4 additions & 2 deletions public/components/getting_started/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import React from 'react';
import { HashRouter, RouteComponentProps, Switch } from 'react-router-dom';
import { HashRouter, Route, RouteComponentProps, Switch } from 'react-router-dom';
import { TraceAnalyticsCoreDeps } from '../trace_analytics/home';
import { ChromeBreadcrumb } from '../../../../../src/core/public';

Expand All @@ -18,7 +18,9 @@ export const Home = (_props: HomeProps) => {
return (
<div>
<HashRouter>
<Switch />
<Switch>
<Route exact path={'/'} render={() => <p>Hellowworld</p>} />
</Switch>
</HashRouter>
</div>
);
Expand Down

0 comments on commit 8a86c8d

Please sign in to comment.