aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/displays/ReflecBeatScoreDisplay.tsx')
-rw-r--r--frontend/src/components/displays/ReflecBeatScoreDisplay.tsx19
1 files changed, 1 insertions, 18 deletions
diff --git a/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx b/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx
index 9de1403..63aa2a9 100644
--- a/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx
+++ b/frontend/src/components/displays/ReflecBeatScoreDisplay.tsx
@@ -2,24 +2,7 @@ import React from "react";
import SHA1 from "crypto-js/sha1";
import { Link } from "react-router";
import { globalSkipKeys } from "../../types/constants";
-
-interface Score {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- [key: string]: any;
- timestamp: string | number;
- username?: string;
-}
-
-interface ScoreDisplayProps {
- scores: Score[];
- viewMode: "cards" | "table";
- sortField: string;
- sortDirection: "asc" | "desc";
- onSort: (field: string) => void;
- onDelete?: (scoreId: number) => void;
- showUsername?: boolean;
- hideTitleArtist?: boolean;
-}
+import type {Score, ScoreDisplayProps} from "../../types/game";
const ReflecBeatScoreDisplay: React.FC<ScoreDisplayProps> = ({
scores,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage