diff --git a/src/models/challenges.d.ts b/src/models/challenges.d.ts index 774e56802e..46924e068f 100644 --- a/src/models/challenges.d.ts +++ b/src/models/challenges.d.ts @@ -97,7 +97,7 @@ declare namespace rest_api { height: number; handicap: number; komi_auto: KomiOption; - komi: number; + komi?: number; disable_analysis: boolean; initial_state: any; // TBD private: boolean; diff --git a/src/views/Play/QuickMatch.tsx b/src/views/Play/QuickMatch.tsx index 25298071ab..b0e16b4d42 100644 --- a/src/views/Play/QuickMatch.tsx +++ b/src/views/Play/QuickMatch.tsx @@ -421,7 +421,6 @@ export function QuickMatch(): JSX.Element { height: board_size === "9x9" ? 9 : board_size === "13x13" ? 13 : 19, handicap: handicaps === "disabled" ? 0 : -1, komi_auto: "automatic", - komi: 0, disable_analysis: false, initial_state: null, private: false,