Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny
2025-09-19 13:05:51 -07:00
committed by GitHub
parent 140241b83f
commit 40eaf078cc
401 changed files with 1278 additions and 593 deletions

View File

@@ -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<{