mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-20 01:59:12 +08:00
fix: fix eslint
This commit is contained in:
parent
c7e4876347
commit
2e9fb26f6b
@ -1,5 +1,5 @@
|
|||||||
import { ArrowRightIcon } from "@radix-ui/react-icons";
|
import { ArrowRightIcon } from "@radix-ui/react-icons";
|
||||||
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
||||||
|
|
||||||
import { Button } from "~/components/ui/button";
|
import { Button } from "~/components/ui/button";
|
||||||
import { cn } from "~/lib/utils";
|
import { cn } from "~/lib/utils";
|
||||||
|
@ -162,7 +162,7 @@ export const FlickeringGrid: React.FC<FlickeringGridProps> = ({
|
|||||||
|
|
||||||
const intersectionObserver = new IntersectionObserver(
|
const intersectionObserver = new IntersectionObserver(
|
||||||
([entry]) => {
|
([entry]) => {
|
||||||
setIsInView(entry.isIntersecting);
|
setIsInView(entry!.isIntersecting);
|
||||||
},
|
},
|
||||||
{ threshold: 0 },
|
{ threshold: 0 },
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user