- |
- {data.title}
- {songData.map((e) => (
+ |
+
+ {data.title}
+
+ {data.__related.entries.map((e) => (
<>
- {e.title} ({e.md5})
+ {typeof e === "string" ? (
+ UNKNOWN CHART ({e})
+ ) : (
+ {FormatChart("bms", e.song, e.chart)}
+ )}
>
))}
|
- {data.set}
+ {data.playtype} {data.set} ({data.value})
|
- {data.playtype} |
- {data.value} |
);
}
diff --git a/client/src/components/util/SelectButton.tsx b/client/src/components/util/SelectButton.tsx
index 715df6dcb..4010a9383 100644
--- a/client/src/components/util/SelectButton.tsx
+++ b/client/src/components/util/SelectButton.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import React, { CSSProperties } from "react";
import { Button } from "react-bootstrap";
import { ButtonVariant } from "react-bootstrap/esm/types";
import { JustChildren, SetState } from "types/react";
@@ -11,6 +11,7 @@ export default function SelectButton