Skip to content

Commit 5251ddf

Browse files
authored
Fix PODCAT-986 issue: update component when the url is updated (#271) (#272)
1 parent 0a2e29e commit 5251ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/participatingResourceDetailPage/ParticipatingResourceDetail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const ParticipatingResourceDetail = ({
257257
throw new Error(`Loading participating resource detail datasets failed ${error}`);
258258
});
259259
}
260-
}, []);
260+
}, [id]);
261261

262262
useEffect(() => {
263263
initializePopover();

0 commit comments

Comments
 (0)