diff --git a/theatre/studio/src/uiComponents/useBoundingClientRect.ts b/theatre/studio/src/uiComponents/useBoundingClientRect.ts index 26de025..b0217f2 100644 --- a/theatre/studio/src/uiComponents/useBoundingClientRect.ts +++ b/theatre/studio/src/uiComponents/useBoundingClientRect.ts @@ -1,7 +1,7 @@ import {useLayoutEffect, useState} from 'react' export default function useBoundingClientRect( - node: HTMLElement | null, + node: Element | null, ): null | DOMRect { const [bounds, set] = useState(null)