aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code/components/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code/components/App.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/App.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/App.tsx b/server/sonar-web/src/main/js/apps/code/components/App.tsx
index 9aa8d3a9e97..15a551aa714 100644
--- a/server/sonar-web/src/main/js/apps/code/components/App.tsx
+++ b/server/sonar-web/src/main/js/apps/code/components/App.tsx
@@ -175,7 +175,7 @@ export class App extends React.PureComponent<Props, State> {
};
render() {
- const { branchLike, component, location } = this.props;
+ const { branchLike, component } = this.props;
const { loading, baseComponent, components, breadcrumbs, total, sourceViewer } = this.state;
const shouldShowBreadcrumbs = breadcrumbs.length > 1;
@@ -193,7 +193,7 @@ export class App extends React.PureComponent<Props, State> {
<Suggestions suggestions="code" />
<Helmet title={sourceViewer !== undefined ? sourceViewer.name : defaultTitle} />
- <Search branchLike={branchLike} component={component} location={location} />
+ <Search branchLike={branchLike} component={component} />
<div className="code-components">
{shouldShowBreadcrumbs && (