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

@@ -3,7 +3,7 @@
import React, { useState, useEffect, useCallback, useRef } from 'react';
import { usePopper } from 'react-popper';
import { isEqual, noop } from 'lodash';
import lodash from 'lodash';
import type { LocalizerType } from '../types/Util.js';
import { Modal } from './Modal.js';
@@ -23,6 +23,8 @@ import { FunEmojiPicker } from './fun/FunEmojiPicker.js';
import type { FunEmojiSelection } from './fun/panels/FunPanelEmojis.js';
import { isFunPickerEnabled } from './fun/isFunPickerEnabled.js';
const { isEqual, noop } = lodash;
export type PropsType = {
draftPreferredReactions: ReadonlyArray<string>;
hadSaveError: boolean;