From efbcb2bbdd816fbfa5062de85f96055d3fb2fe80 Mon Sep 17 00:00:00 2001 From: lassejaco Date: Wed, 27 Mar 2024 16:18:44 +0100 Subject: [PATCH] eslint ignore --- devcon/src/pages/road-to-devcon.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devcon/src/pages/road-to-devcon.tsx b/devcon/src/pages/road-to-devcon.tsx index ef6c642eb..0873257c4 100644 --- a/devcon/src/pages/road-to-devcon.tsx +++ b/devcon/src/pages/road-to-devcon.tsx @@ -680,8 +680,8 @@ const Gallery = React.memo(() => { const SlideControls = ({ sectionRefs, controlsRef, goToSection }: any) => { const [showDragIndicator, setShowDragIndicator] = React.useState(true) - const sections = sectionRefs.map((ref: any) => { - // @ts-ignore + const sections: any[] = sectionRefs.map((ref: any) => { + // eslint-disable-next-line return useIntersectionRatio(ref, { root: 'intersection-root', })