Skip to content

Commit

Permalink
Recompute journey manager highlights on element change
Browse files Browse the repository at this point in the history
  • Loading branch information
peterszerzo committed Jun 21, 2024
1 parent 94347d2 commit 9bcea9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/journey-manager/src/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ const Highlight: FunctionComponent<{ element: HTMLElement }> = ({
console.warn(err);
});
}
}, []);
}, [element]);
return (
<div
className="highlight"
Expand Down

0 comments on commit 9bcea9e

Please sign in to comment.