Explain why we cast the tile springs

This commit is contained in:
Robin Townsend committed 2023-02-13 22:40:26 -05:00
1 parent ef4a62ca62
commit efbf319fa1
1 file changed
+1
+1
View File
@@ -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<TileSpring>[], SpringRef<TileSpring>];
const onTap = useCallback(