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