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:
1 parent
2a568d0fda
commit
a198b03875
1 file changed
+1
-1
@@ -22,5 +22,5 @@ export function useResizeObserver(
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}, [callback]);
|
||||
}, [element, callback]);
|
||||
}
|
||||
Reference in new issue
Block a user