chore: bump prettier v3 and format all code (#12111)
* chore: bump prettier v3 and format all code * chore: mjs config * chore: revert * chore: revert * chore: update lock
This commit is contained in:
@@ -10,10 +10,10 @@ const makeDOMRect = (width: number, height: number) =>
|
||||
bottom: height,
|
||||
width,
|
||||
height,
|
||||
} as DOMRect);
|
||||
}) as DOMRect;
|
||||
|
||||
export const useRect = (
|
||||
elementOrRef: Element | Window | Ref<Element | Window | undefined>
|
||||
elementOrRef: Element | Window | Ref<Element | Window | undefined>,
|
||||
) => {
|
||||
const element = unref(elementOrRef);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user