mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
|
||||
import type { Ref } from 'react';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { first, last, noop } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
|
||||
const { first, last, noop } = lodash;
|
||||
|
||||
function getBottom(element: Readonly<Element>): number {
|
||||
return element.getBoundingClientRect().bottom;
|
||||
|
||||
Reference in New Issue
Block a user