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

@@ -5,7 +5,7 @@ import React, { useCallback, useState, useEffect, useRef } from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import classnames from 'classnames';
import { changeDpiBlob } from 'changedpi';
import { noop } from 'lodash';
import lodash from 'lodash';
import { SignalService as Proto } from '../protobuf/index.js';
import type { SaveAttachmentActionCreatorType } from '../state/ducks/conversations.js';
@@ -24,6 +24,8 @@ import { Spinner } from './Spinner.js';
import { BrandedQRCode } from './BrandedQRCode.js';
import { useConfirmDiscard } from '../hooks/useConfirmDiscard.js';
const { noop } = lodash;
export type PropsType = Readonly<{
i18n: LocalizerType;
link?: string;