Skip to content

Commit

Permalink
FJern kommentar
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemidtlyng committed Nov 27, 2024
1 parent ad8edc0 commit c895729
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/frontend/Felles/HeaderMedSøk/PersonSøk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ const PersonSøk: React.FC = () => {

const søkeresultatOnClick = (søkeresultat: ISøkeresultat) => {
if (søkeresultat.fagsakId) {
console.log('Skal navigere', søkeresultat);
// navigate(`/person/${søkeresultat.fagsakId}`); // fagsakId er mappet fra fagsakPersonId
window.location.href = `${window.location.origin}/person/${søkeresultat.fagsakId}`;
} else {
Expand Down

0 comments on commit c895729

Please sign in to comment.