Merge pull request #10448 from leon-vg/fix-radar
Fix issue with stale data when switching between radars
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user