Skip to content

Commit

Permalink
chore: remove debug console
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed May 19, 2023
1 parent df36f89 commit ba6a81e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/remix-react/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ function usePrefetchBehavior<T extends HTMLAnchorElement>(
};
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();
Expand Down Expand Up @@ -350,8 +349,6 @@ let Link = React.forwardRef<HTMLAnchorElement, RemixLinkProps>(
props
);

console.log({ ref: ref.current, forwardedRef });

return (
<>
<RouterLink
Expand Down

0 comments on commit ba6a81e

Please sign in to comment.