From 4d6ca264f797914099cc6a2ef913e59df53c2279 Mon Sep 17 00:00:00 2001 From: Kenneth Allen Date: Mon, 18 Oct 2021 17:26:43 +1100 Subject: [PATCH] Remove empty wonder selection --- packages/wonders-client/src/components/Game/Game.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/wonders-client/src/components/Game/Game.tsx b/packages/wonders-client/src/components/Game/Game.tsx index d5cf765..321f072 100644 --- a/packages/wonders-client/src/components/Game/Game.tsx +++ b/packages/wonders-client/src/components/Game/Game.tsx @@ -65,7 +65,7 @@ export default function Game({ state, playerName, dispatch }: { state: State, pl { const errors: Partial = {} if (values.wonder.length === 0) { @@ -81,8 +81,8 @@ export default function Game({ state, playerName, dispatch }: { state: State, pl {' '} - {['', ...wonders.keys()].map(w => - + {[...wonders.keys()].map(w => + )} {' '}