From 2f2388c9cf9466900a98c86314297579212316af Mon Sep 17 00:00:00 2001 From: Aiden Bai Date: Tue, 24 Oct 2023 03:40:33 -0700 Subject: [PATCH] fix: fragment vs array issue --- website/components/live.tsx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/website/components/live.tsx b/website/components/live.tsx index a7d603e1f3..7142d97144 100644 --- a/website/components/live.tsx +++ b/website/components/live.tsx @@ -105,14 +105,18 @@ function useLiveCursors() { export function Cursors() { const cursors = useLiveCursors(); - return cursors.map(({ x, y, connectionId }) => ( - - )); + return ( + <> + {cursors.map(({ x, y, connectionId }) => ( + + ))} + + ); } export function getCount() {