diff --git a/src/Go/Constants.ts b/src/Go/Constants.ts index ff6a4e0a7..d0f6fb3de 100644 --- a/src/Go/Constants.ts +++ b/src/Go/Constants.ts @@ -68,7 +68,7 @@ export const opponentDetails = { }, }; -export const boardSizes = [5, 7, 9, 13]; +export const boardSizes = [5, 7, 9, 13, 19]; export const columnIndexes = "ABCDEFGHJKLMNOPQRSTUVWXYZ"; diff --git a/src/Go/ui/GoSubnetSearch.tsx b/src/Go/ui/GoSubnetSearch.tsx index 8853c09d6..40ad0be59 100644 --- a/src/Go/ui/GoSubnetSearch.tsx +++ b/src/Go/ui/GoSubnetSearch.tsx @@ -18,6 +18,7 @@ interface IProps { cancel: () => void; showInstructions: () => void; } +const boardSizeOptions = boardSizes.filter((size) => size !== 19); export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProps): React.ReactElement => { const classes = boardStyles(); @@ -88,7 +89,7 @@ export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProp ???? ) : (