mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 20:03:25 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -13,9 +13,9 @@ import React, { forwardRef, useRef } from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import classNames from 'classnames';
|
||||
import getDirection from 'direction';
|
||||
import { drop, take, unescape } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import { Manager, Popper, Reference } from 'react-popper';
|
||||
import type { PreventOverflowModifier } from '@popperjs/core/lib/modifiers/preventOverflow';
|
||||
import type { PreventOverflowModifier } from '@popperjs/core/lib/modifiers/preventOverflow.js';
|
||||
import type { ReadonlyDeep } from 'type-fest';
|
||||
import type {
|
||||
ConversationType,
|
||||
@@ -124,6 +124,8 @@ import {
|
||||
} from '../fun/data/emojis.js';
|
||||
import { useGroupedAndOrderedReactions } from '../../util/groupAndOrderReactions.js';
|
||||
|
||||
const { drop, take, unescape } = lodash;
|
||||
|
||||
const log = createLogger('Message');
|
||||
|
||||
const GUESS_METADATA_WIDTH_TIMESTAMP_SIZE = 16;
|
||||
|
||||
Reference in New Issue
Block a user