Skip to content

Commit

Permalink
chore: remove deprecated type
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroki0525 committed Mar 11, 2024
1 parent 73b6fb6 commit fec97db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function LazyLoad({
suspense = false,
as: Tag = 'div',
...props
}: LazyLoadProps): JSX.Element {
}: LazyLoadProps) {
const [isVisible, setIsVisible] = useState(forceVisible);
const rootRef = useRef<HTMLElement>();
const targetRef = useRef<HTMLElement>();
Expand Down

0 comments on commit fec97db

Please sign in to comment.