Merge pull request #10448 from leon-vg/fix-radar

Fix issue with stale data when switching between radars
This commit is contained in:
Johan Haals
2022-03-25 15:03:39 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Fix an issue where the Radar is not updated when switching between different radars
@@ -28,7 +28,7 @@ const useTechRadarLoader = (id: string | undefined) => {
const { error, value, loading } = useAsync(
async () => techRadarApi.load(id),
[techRadarApi],
[techRadarApi, id],
);
useEffect(() => {