refactor(editor): replace debounce and throttle with lodash (#10639)

This commit is contained in:
Saul-Mirone committed 2025-03-06 04:46:52 +00:00
1 parent 824f573ff9
commit 2b30d756e2
27 files changed
+118 -202

No files matched your search

@@ -1,5 +1,5 @@
import { throttle } from '@blocksuite/affine/global/utils';
import clsx from 'clsx';
import throttle from 'lodash-es/throttle';
import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { observeResize } from '../../utils';