Upgrade Prettier to 2.4.1

This commit is contained in:
Evan Hahn
2021-11-11 16:43:05 -06:00
committed by GitHub
parent f204784afe
commit 5619eeca83
176 changed files with 1961 additions and 2465 deletions

View File

@@ -26,10 +26,8 @@ export function useIntersectionObserver(): [
(el?: Element | null) => void,
IntersectionObserverEntry | null
] {
const [
intersectionObserverEntry,
setIntersectionObserverEntry,
] = useState<IntersectionObserverEntry | null>(null);
const [intersectionObserverEntry, setIntersectionObserverEntry] =
useState<IntersectionObserverEntry | null>(null);
const unobserveRef = useRef<(() => unknown) | null>(null);