1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Small fix for useResizeObserver deps array

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-03-18 12:55:10 +03:00
parent 2a568d0fda
commit a198b03875

View File

@ -22,5 +22,5 @@ export function useResizeObserver(
}
return undefined;
}, [callback]);
}, [element, callback]);
}