refactor: push isValidPath() into parsePastedPaths() (#18664)

This commit is contained in:
Tommaso Sciortino
2026-02-09 13:19:51 -08:00
committed by GitHub
parent 9e41b2cd89
commit 1b98c1f806
15 changed files with 247 additions and 261 deletions
@@ -19,7 +19,6 @@ describe('text-buffer performance', () => {
const { result } = renderHook(() =>
useTextBuffer({
viewport,
isValidPath: () => false,
}),
);
@@ -52,7 +51,6 @@ describe('text-buffer performance', () => {
useTextBuffer({
initialText,
viewport,
isValidPath: () => false,
}),
);