From efbf319fa1048087662938639f104a7c1b212678 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Mon, 13 Feb 2023 22:40:26 -0500 Subject: [PATCH] Explain why we cast the tile springs --- src/video-grid/VideoGrid.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video-grid/VideoGrid.tsx b/src/video-grid/VideoGrid.tsx index 6623eee..03d9583 100644 --- a/src/video-grid/VideoGrid.tsx +++ b/src/video-grid/VideoGrid.tsx @@ -986,6 +986,7 @@ export function VideoGrid({ tilePositions, tiles, scrollPosition, + // react-spring's types are bugged and can't infer the spring type ]) as unknown as [SpringValues[], SpringRef]; const onTap = useCallback(