fix refresh-issue when switching between radars
Signed-off-by: Leon <leonvanginneken@gmail.com>
This commit is contained in:
@@ -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