diff --git a/client/src/components/tables/cells/GitadoraJudgementCell copy.tsx b/client/src/components/tables/cells/GitadoraJudgementCell copy.tsx deleted file mode 100644 index 90919e3e4..000000000 --- a/client/src/components/tables/cells/GitadoraJudgementCell copy.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { IsNullish } from "util/misc"; -import React from "react"; -import { COLOUR_SET, PBScoreDocument, ScoreDocument } from "tachi-common"; - -export default function GitadoraJudgementCell({ - score, -}: { - score: - | ScoreDocument<"gitadora:Dora" | "gitadora:Gita"> - | PBScoreDocument<"gitadora:Dora" | "gitadora:Gita">; -}) { - const judgements = score.scoreData.judgements; - - if ( - IsNullish(judgements.perfect) || - IsNullish(judgements.great) || - IsNullish(judgements.good) || - IsNullish(judgements.ok) || - IsNullish(judgements.miss) - ) { - return No Data.; - } - - return ( - - - {judgements.perfect}- - {judgements.great}- - {judgements.good}- - {judgements.ok}- - {judgements.miss} - - - ); -}