Skip to content

Commit d026890

Browse files
Yash-Singh1claude
andcommitted
fix(web): a missing-comment link that replaces another still asks the host
The host check reran only when the activity's miss changed, so a second missing link arriving over the first, with no new load, was never checked. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 1a1c83e commit d026890

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ export function PullRequestDetailPanel({
719719
useEffect(() => {
720720
readHostForReveal();
721721
// oxlint-disable-next-line react/exhaustive-effect-dependencies -- each load that misses the linked item is checked against the host read
722-
}, [revealMissedAt, revealReadFailed]);
722+
}, [revealMissedAt, revealReadFailed, revealUrl]);
723723
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- a host read outliving the panel must not settle a later link
724724
useEffect(
725725
() => () => {

0 commit comments

Comments
 (0)