mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 17:38:10 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import React, { useCallback } from 'react';
|
||||
import type { RefObject } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { noop } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import { animated, useSpring } from '@react-spring/web';
|
||||
|
||||
import type { LocalizerType } from '../../types/Util.js';
|
||||
@@ -25,6 +25,8 @@ import { durationToPlaybackText } from '../../util/durationToPlaybackText.js';
|
||||
import { shouldNeverBeCalled } from '../../util/shouldNeverBeCalled.js';
|
||||
import { formatFileSize } from '../../util/formatFileSize.js';
|
||||
|
||||
const { noop } = lodash;
|
||||
|
||||
const log = createLogger('MessageAudio');
|
||||
|
||||
export type OwnProps = Readonly<{
|
||||
|
||||
Reference in New Issue
Block a user