Skip to content

Commit

Permalink
disable create game record button for now
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Aug 22, 2024
1 parent b39f499 commit 03b75ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/LibraryPlayer/LibraryPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { IdType } from "src/lib/types";
import { openSGFPasteModal } from "SGFPasteModal";
import * as preferences from "preferences";
import { PlayerCacheEntry } from "src/lib/player_cache";
import { createGameRecord } from "ChallengeModal";
// import { createGameRecord } from "ChallengeModal";

type LibraryPlayerProperties = RouteComponentProps<{
player_id: string;
Expand Down Expand Up @@ -528,6 +528,7 @@ class _LibraryPlayer extends React.PureComponent<LibraryPlayerProperties, Librar
<Card>
{owner && (
<div className="upload-button">
{/*
<button
className="primary"
onClick={() => {
Expand All @@ -540,6 +541,7 @@ class _LibraryPlayer extends React.PureComponent<LibraryPlayerProperties, Librar
>
{_("Record Game")}
</button>
*/}
<button
className="primary"
onClick={() =>
Expand Down

0 comments on commit 03b75ff

Please sign in to comment.