Explain why we cast the tile springs
This commit is contained in:
parent
ef4a62ca62
commit
efbf319fa1
1 changed files with 1 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue