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 type { ReactElement, ReactNode } from 'react';
import React, { useEffect, useRef, useState } from 'react';
import classNames from 'classnames';
import { noop } from 'lodash';
import lodash from 'lodash';
import { animated } from '@react-spring/web';
import { v4 as uuid } from 'uuid';
@@ -23,6 +23,8 @@ import {
useScrollObserver,
} from '../hooks/useSizeObserver.js';
const { noop } = lodash;
const log = createLogger('Modal');
type PropsType = {