diff --git a/packages/remix-react/components.tsx b/packages/remix-react/components.tsx index 1d271439a21..0acc71f6a6e 100644 --- a/packages/remix-react/components.tsx +++ b/packages/remix-react/components.tsx @@ -254,7 +254,6 @@ function usePrefetchBehavior( }; let observer = new IntersectionObserver(callback, { threshold: 0.5 }); if (ref.current) observer.observe(ref.current); - else console.warn("No element to observe"); return () => { observer.disconnect(); @@ -350,8 +349,6 @@ let Link = React.forwardRef( props ); - console.log({ ref: ref.current, forwardedRef }); - return ( <>