fix: more imports

This commit is contained in:
TrèsAbhi committed 2024-09-08 10:11:24 -05:00
1 parent 25cfb7db74
commit 4f24db0956
182 files changed
+456 -452

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { RefObject, useEffect, useRef, useState } from 'react';
*
* https://stackoverflow.com/a/65008608/12294756
*/
export default function useOnScreen(ref: RefObject<HTMLElement>) {
export function useOnScreen(ref: RefObject<HTMLElement>) {
const [isIntersecting, setIntersecting] = useState(false);
const observer = useRef<IntersectionObserver>();