fix(admin-ui): Lint all UI files (#3459)

This commit is contained in:
Kasper Fabricius Kristensen
2023-03-13 14:02:20 +01:00
committed by GitHub
parent 55febef7f1
commit ad7d7fcd51
432 changed files with 1593 additions and 1767 deletions

View File

@@ -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
}