fix(admin-ui): Lint all UI files (#3459)
This commit is contained in:
committed by
GitHub
parent
55febef7f1
commit
ad7d7fcd51
@@ -9,7 +9,7 @@ export const useComputedHeight = (bottomPad: number) => {
|
||||
|
||||
useLayoutEffect(() => {
|
||||
if (ref.current) {
|
||||
let { top } = ref.current.getBoundingClientRect()
|
||||
const { top } = ref.current.getBoundingClientRect()
|
||||
// take the inner height of the window, subtract 32 from it (for the bottom padding), then subtract that from the top position of our grid row (wherever that is)
|
||||
heightRef.current = height - bottomPad - top
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user