mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-08 20:09:19 +00:00
Explain why we cast the tile springs
This commit is contained in:
@@ -986,6 +986,7 @@ export function VideoGrid({
|
|||||||
tilePositions,
|
tilePositions,
|
||||||
tiles,
|
tiles,
|
||||||
scrollPosition,
|
scrollPosition,
|
||||||
|
// react-spring's types are bugged and can't infer the spring type
|
||||||
]) as unknown as [SpringValues<TileSpring>[], SpringRef<TileSpring>];
|
]) as unknown as [SpringValues<TileSpring>[], SpringRef<TileSpring>];
|
||||||
|
|
||||||
const onTap = useCallback(
|
const onTap = useCallback(
|
||||||
|
|||||||
Reference in New Issue
Block a user