diff --git a/src/components/Rooms.tsx b/src/components/Rooms.tsx index 798065d..26d5d69 100644 --- a/src/components/Rooms.tsx +++ b/src/components/Rooms.tsx @@ -14,21 +14,25 @@ export const Rooms = () => { return (
- {rooms.map((room, i) => ( -
-
- {room.id} -
- + {rooms.length === 0 ? ( +
Ancora nessuna gara
+ ) : ( + rooms.map((room, i) => ( +
+
+ {room.id} +
+ +
-
- ))} + )) + )}
) }