fix refresh-issue when switching between radars

Signed-off-by: Leon <leonvanginneken@gmail.com>
This commit is contained in:
Leon
2022-03-25 14:37:31 +01:00
parent ab3d5c9f06
commit 5a5bd5bc03
@@ -28,7 +28,7 @@ const useTechRadarLoader = (id: string | undefined) => {
const { error, value, loading } = useAsync(
async () => techRadarApi.load(id),
[techRadarApi],
[techRadarApi, id],
);
useEffect(() => {