Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed Aug 13, 2021
1 parent 735a725 commit 866e03a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x-pack/plugins/timelines/public/hooks/use_add_to_case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ export const useAddToCase = ({
const caseDetailsUrl = getCaseDetailsUrl({ id });
const appUrl = getUrlForApp(appId);
const fullCaseUrl = `${appUrl}/cases/${caseDetailsUrl}`;
// TODO: not working for observability cases?
// navigateToApp(appId, {
// deepLinkId: appId === 'securitySolution' ? 'case' : 'cases',
// path: getCaseDetailsUrl({ id }),
// });
navigateToUrl(fullCaseUrl);
},
[navigateToUrl, appId, getUrlForApp]
Expand Down

0 comments on commit 866e03a

Please sign in to comment.