Skip to content

Commit 682beac

Browse files
authored
Merge pull request #1037 from Fragger/values.forEach-not-a-function-fix
Fix u.current.values().forEach is not a function
2 parents ba6c651 + 18471d9 commit 682beac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rcongui_public/src/pages/games/horizontal-games-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const HorizontalGamesList = ({ games }: { games: ScoreboardMaps }) => {
9191
{ threshold: 0, root: scrollAreaRef.current }
9292
);
9393

94-
gameRefs.current.values().forEach((ref) => {
94+
gameRefs.current.forEach((ref) => {
9595
if (ref) observer.observe(ref);
9696
});
9797

0 commit comments

Comments
 (0)