decrease image debounce duration

This commit is contained in:
jeffvli
2026-01-29 22:28:01 -08:00
parent 4d81dc49fa
commit 7613bc32c2
+1 -1
View File
@@ -139,7 +139,7 @@ function ImageWithDebounce({
unloaderIcon,
...props
}: ImageProps) {
const [debouncedSrc] = useDebouncedValue(src, 150, { waitForInitial: true });
const [debouncedSrc] = useDebouncedValue(src, 100, { waitForInitial: true });
const viewport = useInViewport();
const { inViewport, ref } = enableViewport ? viewport : { inViewport: true, ref: undefined };
const { className: containerPropsClassName, ...restContainerProps } = imageContainerProps || {};