Skip to content

Commit

Permalink
Fixes navigation redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
spong committed Jun 2, 2020
1 parent 85995cb commit 554afa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const DETECTION_ENGINE_PAGE_NAME = 'detections';
export const RedirectToDetectionEnginePage = ({
location: { search },
}: DetectionEngineComponentProps) => {
const to = `/${DETECTION_ENGINE_PAGE_NAME}/${search}`;
const to = `/${DETECTION_ENGINE_PAGE_NAME}${search}`;

return <RedirectWrapper to={to} />;
};
Expand Down

0 comments on commit 554afa8

Please sign in to comment.