fix: update errors

This commit is contained in:
TrèsAbhi committed 2025-09-27 16:07:45 -05:00
1 parent 4ff9a2ec7f
commit c14efe86cc
34 files changed
+217 -280

No files matched your search

@@ -1,6 +1,6 @@
import { Flex, Skeleton } from '@radix-ui/themes';
import { memo, useRef } from 'react';
import { useIntersection } from '../../../hooks/useIntersection';
import { Flex, Skeleton } from "@radix-ui/themes";
import { memo, useRef } from "react";
import { useIntersection } from "../../../hooks/useIntersection";
interface SkeletonTankCardProps {
onIntersection?: () => void;
@@ -8,7 +8,7 @@ interface SkeletonTankCardProps {
export const SkeletonTankCard = memo(
({ onIntersection }: SkeletonTankCardProps) => {
const card = useRef<HTMLDivElement>(null);
const card = useRef<HTMLDivElement>(null!);
useIntersection(() => onIntersection?.(), card, {
disabled: onIntersection === undefined,
@@ -21,5 +21,5 @@ export const SkeletonTankCard = memo(
</Flex>
);
},
() => true,
() => true
);